BigQuery Dataset List
In this article
Overview
You can use this Snap to list BigQuery Datasets.
Snap Type
BigQuery Datatset List Snap is a Read-type Snap that reads dataset from BigQuery.
Prerequisites
.A valid Google BigQuery Account with the required permissions.
Support for Ultra Pipelines Â
Works in Ultra Pipelines.
Limitations and Known Issues
None.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document  |
|
| The Project ID from which the Snap reads the dataset to be listed. |
Output | Document  |
|
| The dataset list. |
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
Asterisk ( * ): Indicates a mandatory field.
Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.
Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.
Add icon ( ): Indicates that you can add fields in the fieldset.
Remove icon ( ): Indicates that you can remove fields from the fieldset.
Field Name | Field Type | Description |
---|---|---|
Label* Default Value:Â BigQuery Dataset List | String | Specify a unique name for the Snap. Â |
Project ID Default Value:Â N/A | String/Expression | Specify the Project ID from which the dataset is to be listed. |
Detailed Information Default value: Deselected | Checkbox | Select this checkbox to enable the Snap to access additional fields for displaying them in the output. |
Snap Execution Default Value:Â Execute only | Dropdown list | Select one of the following three modes in which the Snap executes. Options include:
|
Example
Listing Datasets from a Project
This example Pipeline demonstrates how to use the Dataset List Snap to list the datasets from the specified Project ID.
First, we configure the BigQuery Dataset List Snap as highlighted below to list datasets from test-project-356213 Project ID.
On validation, the Snap reads the data and lists the datasets in the output.
Downloads
Download and import the Pipeline into SnapLogic.
Configure Snap accounts, as applicable.
Provide Pipeline parameters, as applicable.
Â
Â
Related Links
Â
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.