For details on using variables, refer to "Variables".
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Name | Required | Not Available | Enter the name on the script canvas. |
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Destination | Required | Not Available | Select Global Resources.
|
|
| Project ID | Required | Available | Select or enter the project ID. | |
| SQL statement | Required | Available | Enter the SQL statement to be issued to Google BigQuery. |
|
| Dataset name of the save destination | Required | Available | Select or enter the dataset name of the table where the query result is to be stored. | |
| Table name of the save destination | Required | Available | Select or enter the table name where the query result is to be stored. |
| Item name | Description | Remarks |
|---|---|---|
| Update the list of project IDs | Get projects in the specified destination, and set them to [Project ID]. |
|
| Update the list of dataset names of the save destination | Get datasets in the specified project, and set them in [Dataset name of the save destination]. |
|
| Update the list of table names of the save destination | Get tables in the specified dataset, and set them in [Table name of the save destination]. |
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Write settings of destination tables | Required | Not Available | Select an option to use when writing.
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Comment | Optional | Not Available | You can write a short description of this adapter. The description will be applied in the specifications. |
| Component variable name | Description | Remarks |
|---|---|---|
| message_category | When an error occurs, the category of the message code corresponding to the error that occurred is stored. |
|
| message_code | When an error occurs, the code of the message code corresponding to the error that occurred is stored. |
|
| message_level | When an error occurs, the severity of the message code corresponding to the error that occurred is stored. |
|
| error_type | When an error occurs, the type of error that occurred is stored. |
|
| error_message | When an error occurs, the message of the error that occurred is stored. |
|
| error_trace | When an error occurs, the trace information of the error that occurred is stored. |
|
For more details on specification limits common to each operation, refer to "Google BigQuery Adapter Limitations".| Exception Name | Cause | Solution |
|---|---|---|
| ResourceNotFoundException Resource definition is not found. Name:[] |
[Destination] is not specified. | Specify [Destination]. |
| ResourceNotFoundException Resource definition is not found. Name:[<Name of global resources>] |
Resource definition selected in [Destination] is not found. | Check the global resource specified in [Destination]. |
| InvalidPropertyConfigurationException <property name> is not specified. |
[<Property name>] is not specified. | Specify [<Property name>]. |
| InvalidCredentialException A service account authentication key is incorrect. |
[<Service account authentication key>] in [<Destination>] is incorrect. | Confirm [<Service account authentication key>] in [<Destination>]. |
| BigQueryServiceException Failed to execute the job. |
Failed to execute the job. | Identify the cause of the error by referring to the error logs, and resolve the problem. |
| BigQueryServiceException Failed in the operation for Google BigQuery. |
Failed in the operation for Google BigQuery | Identify the cause of the error from the status code and error code by referring to the error message list page of Google BigQuery (https://cloud.google.com/bigquery/docs/error-messages), and then resolve the problem. |
| ResourceManagerServiceException | Failed in the operation for Google Resource Manager. | Identify the cause of the error from the status code and error code by referring to the error message list page of Google Resource Manager (https://cloud.google.com/resource-manager/docs/core_errors), and then resolve the problem. |