Commencer maintenant
Google BigQuery Tools

Googlebigquery Create Routine

Utilisez Googlebigquery Create Routine avec Google BigQuery Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion OAuth

Description du fournisseur

Tool to create a new user-defined routine (function or procedure) in a BigQuery dataset. Use when you need to define SQL, JavaScript, Python, Java, or Scala functions/procedures for reusable logic, data transformations, or custom masking. Supports scalar functions, table-valued…

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • languagestring
    Programming language of the routine.
  • argumentsarray
    Optional. Input/output arguments for the routine.
  • dataset_idstring
    Obligatoire
    Required. Dataset ID where the routine will be created. Used in the URL path.
  • project_idstring
    Obligatoire
    Required. Project ID where the routine will be created. Used in the URL path.
  • returnTypeobject
    Data type of a BigQuery field or function argument. Supports simple types like INT64, and complex types like ARRAY and STRUCT.
  • strictModeboolean
    Optional. If TRUE (default), the procedure body is checked for errors like non-existent tables. Set to FALSE for recursive procedures to avoid validation errors.
  • descriptionstring
    Optional. A description of the routine.
  • routineTypestring
    Obligatoire
    Required. The type of routine: SCALAR_FUNCTION, PROCEDURE, TABLE_VALUED_FUNCTION, or AGGREGATE_FUNCTION.
  • securityModestring
    Security mode of the routine.
  • sparkOptionsobject
    Options for user-defined Spark routines.
  • definitionBodystring
    Obligatoire
    Required. The body of the routine. For SQL functions, this is the expression in the AS clause (excluding parentheses). For JavaScript, it's the evaluated string in the AS clause.
  • returnTableTypeobject
    A table type for table-valued functions.

Sortie observable

  • data
    Obligatoire
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Obligatoire
    Whether or not the action execution was successful or not

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur