...
[{
"name": "sales",
"type": "FLOAT",
"mode": "NULLABLE",
"defaultValueExpression": "2.55"
}]
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| The Project ID and the Document ID. |
Output | Document |
|
| The list of Table IDs along with their Project IDs, Dataset IDs, and Table type. |
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:
Learn more about Error handling in Pipelines. |
Snap Settings
Info |
---|
|
Field Name | Field Type | Field Dependency | Description | |
---|---|---|---|---|
Label* Default Value: BigQuery Table Create | String/Expression | None | Specify a unique name for the Snap. Modify this to be more specific, especially if you have more than one Snap of the same type in your pipeline. | |
Project ID Default Value: N/A | String/Expression/Suggestion | None | Specify the project ID in which the dataset resides. | |
Dataset ID Default Value: N/A | String/Expression/Suggestion | None | Specify the dataset ID of the destination. | |
Table ID Default Value: N/A | String/Expression/Suggestion | None | Specify the table ID of the table you are creating. This is a unique ID that you must provide (it is not automatically created or assigned). Learn more about creating valid BigQuery table names. | |
Table Schema (JSON) | String | None | Enter the JSON schema for the table. | |
Detailed Information Default value: Deselected | Checkbox | None | Select this checkbox to enable the Snap to access additional fields for displaying them in the output. | |
Default table expiration (in days) | String/Expression | Appears when you select the Detailed Information checkbox. | New tables created in this dataset will be automatically deleted in the number of days specified. | |
Partitioning | Use this field set to define partitioning requirements. | |||
Enable partitioning Default Value: Deselected | Checkbox | Appears when you select the Partitioning dropdown. | Select to configure partitioning. | |
Require partitioning filter Default Value: Deselected | Checkbox | Appears when you select the Enable Partitioning checkbox. | Select to require users to include a WHERE clause that specifies the partitions to query each time they query the table. Select the partitioning type (time or range) and the partitioning time (time interval after which a new partition is created). | |
Clustering | Use this field set to define clustering requirements. | |||
Enable clustering Default Value: Deselected | Checkbox | Appears when you select the Clustering dropdown. | Select to configure clustering. | |
Snap Execution Default Value: Validate & Execute | Dropdown list | None | Select one of the following three modes in which the Snap executes:
|
Examples
Creating a BigQuery Table
...
...