Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
minLevel1
maxLevel2
absoluteUrltrue

Overview

You can use this Snap to delete BigQuery tables.

...

Snap Type

BigQuery Table Delete Snap is a Write-type Snap.

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

  • Min: 0

  • Max: 1

  • Mapper

  • JSON Generator

The Project ID, Dataset ID, and Table ID.

Output

Document

  • Min: 1

  • Max: 1

  • Mapper

The status of the table deletion and the details of the deleted table: Project ID, Dataset ID, Table ID, 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:

  • Stop Pipeline Execution: Stops the current pipeline execution if the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the remaining records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

Snap Settings

Info
  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon ((blue star)): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ((blue star) ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( (blue star) ): Indicates that you can add fields in the fieldset.

  • Remove icon ( (blue star)): Indicates that you can remove fields from the fieldset.

Field Name

Field Type

Description

Label*

Default ValueBigQuery Table Delete
ExampleDelete Contract Employees

String

Specify a unique name for the Snap.

Project ID*

Default Value: N/A
Example: contract-project-123

String/Expression/Suggestion

Specify the project ID in which the dataset to be deleted resides.

Dataset ID*

Default Value: N/A
Example: contract_emp_names

String/Expression/Suggestion

Specify the ID of the dataset that you want to delete.

Table ID*

Default Value: N/A
Example: Contract_Emp123

String/Expression/Suggestion

Specify the ID of the target table that you want to delete.

Snap Execution

Default ValueExecute only
Example: Validate & Execute

Dropdown list

Select one of the following three modes in which the Snap executes:

  • Validate & Execute: Performs limited execution of the Snap, and generates a data preview during Pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.

  • Execute only: Performs full execution of the Snap during Pipeline execution without generating preview data.

  • Disabled: Disables the Snap and all Snaps that are downstream from it.

Example

Deleting Dummy Tables from the Dataset

This example Pipeline demonstrates how to delete a dummy table from a dataset.

...

On validation, the Snap deletes the table and displays the status of the deletion and the details of the deleted table.

...

Download this Pipeline

Downloads

Info
  1. Download and import the Pipeline into SnapLogic.

  2. Configure Snap accounts, as applicable.

  3. Provide Pipeline parameters, as applicable.

...

Insert excerpt
Google BigQuery Snap Pack
Google BigQuery Snap Pack
nameGoogle BigQuery SPH
nopaneltrue

...

...