立即开始
Google BigQuery Tools

Googlebigquery Create Routine

通过 Aident Loadout 使用 Google BigQuery Tools 的 Googlebigquery Create Routine。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

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…

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • languagestring
    Programming language of the routine.
  • argumentsarray
    Optional. Input/output arguments for the routine.
  • dataset_idstring
    必填
    Required. Dataset ID where the routine will be created. Used in the URL path.
  • project_idstring
    必填
    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
    必填
    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
    必填
    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.

可观察输出

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

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源