In this article
You can use this Snap to read and retrieve data from a Google BigQuery table.
The Google BigQuery Table Data List Snap is a Read-type Snap that reads table data from the BigQuery dataset and lists the data in the output.
A valid Google BigQuery account with the required permissions.
None.
Works in Ultra Pipelines.
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 when 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. |
|
Field Name | Field Type | Field Dependency | Description |
---|---|---|---|
Label* Default Value: BigQuery Table Data List | String/Expression | None. | Enter a unique name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap 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. |
Snap Execution Default Value: Validate & Execute | Dropdown list | None. | Select one of the following three modes in which the Snap executes:
|
This example demonstrates how to read table data from a BigQuery dataset and list the data in the output.
Configure the Snap with the Project ID, Dataset ID, and Table ID of the dataset from which the table data is to be listed.
On validation, the Snap lists the table data in the output.
This example pipeline demonstrates how to read tables from a BigQuery dataset and list the data from a specific table in the output.
First, configure the BigQuery Table List Snap with the Project ID and Dataset ID of the dataset from which the table data is to be listed.
On validation, the Snap lists the tables in the dataset.
Next, configure the Filter Snap with an expression that filters the data to limit it to just the Inventory table: $table_id=="Inventory"
On validation, the Snap lists information about the filtered data in the output.
Configure the Table Data List Snap with the Project ID, Dataset ID, and Table ID of the dataset from which the table data is to be listed.
On validation, the Snap lists the table data in the output.
|