Defining Google BigQuery Stored Procedures

The following properties are applicable to a Google BigQuery Stored Procedure object.

Tab

Property

Description

Additional Information

 

Name

Specifies the name of the stored procedure

 

  Dataset Specifies the dataset to which the stored procedure belongs  
  Project Specifies the project to which the dataset belongs  
  If Not Exists Specifies whether the stored procedure already exists, no exception is thrown, and no action happens  
  Use Replace Syntax Specifies whether the REPLACE syntax is used Selecting this option replaces the syntax with the new DDL that is generated during Forward Engineering
  Generate Specifies whether a DDL statement is generated for the stored procedure during forward engineering  
General

Connection Name

Specifies the connection name for accessing the external data  

Language

Specifies the language of the stored procedure

Applicable to the stored procedures for Apache Spark.

Google BigQuery supports stored procedures written in Python, Java, or Scala.

Procedure Body Specifies the stored procedure expression

Indicates the reference entities without specifying the project

Pyspark Code

Specifies the PySpark code for the stored procedure to pass the body of the procedure inline

Applicable to the stored procedures for Apache Spark.

Parameters Specifies the list of parameters used in the procedure body

 

Parameter Type Specifies whether the parameter is an input, output, or both of the procedure

 

Physical Data Type Specifies the physical data type of parameter

 

Options

Archive URIs

Specifies the path for extracting the archive files

Applicable to the stored procedures for Apache Spark.

Container Image

Specifies the location of container images for the runtime environment

 

Engine

Specifies the engine type for processing the stored procedures for Apache Spark

 

File URIs

Specifies the path to the files placed in the directory of each executor

Applicable to the stored procedures for Apache Spark.

Jar URIs

Specifies the path to the JAR files

Applicable to the stored procedures for Apache Spark.

Main Class

Specifies the class name in a JAR set and JAR URIs

Applicable to the stored procedures for Apache Spark.

Main File URIs

Specifies the URI of Python, Scala, or Java file of the Apache Spark

 

Py Files URIs

Specifies the path to the Python files on a PySpark application

Applicable only to the stored procedures written in Python.

Runtime Version

Specifies the runtime version of the stored procedures for Apache Spark

 

Strict Mode Specifies whether the strict mode is applicable to the procedure

True: Indicates that apart from syntax checks, the procedure undergoes additional checks for errors, such as non-existent tables or columns

False: Indicates that the procedure body undergoes only syntax checks

Properties

Specifies the properties to be included for the stored procedure as a key-value pair

Applicable to the stored procedures for Apache Spark.

Code   Specifies the template code of the stored procedure that can include SQL statements and macros

 

Expanded Expanded Code (Read Only) Specifies the expanded code of stored procedure