Versions Compared

Key

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

...

Table of Contents
minLevel1
maxLevel2
absoluteUrltrue

Overview

This Snap outputs a list of You can use this Snap to list the tables in a database.  The This Snap will connect connects to the database, read reads its metadata, and output outputs a document for each table found in the database. The table names are output display in a topological order in the output so that tables with the fewest dependencies are output first.  In other wordsfew dependencies display first in the output.  For example, if table A has a foreign key reference to table B, then table B will be displays first in the output before A.  The The ordering is intended to ease the process of replicating a group of tables from one database to another.

...

Expected input: [None]

...

Snap Type

The AlloyDB Table List Snap is a Read Snap.

Prerequisites

None.

Support for Ultra Pipelines

Works in Ultra Pipelines

Limitations and Known Issues

None.

Behavior Change

Multiexcerpt fast include block macro
macro_uuid759f8cbd-2d0a-4556-9a70-e808d9793994
nameBehavior change for driver upgrade
templateDataeJyLjgUAARUAuQ==
pageAlloyDB Bulk Load
addpanelfalse

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 0

  • Max: 1

  • Mapper

  • JSON Generator

This Snap has at most one document input view

The schema name from where the Snap must list the tables.

Output

Document

  • Min: 1

  • Max: 1

  • JSON Parser

  • File Writer

This

Snap has exactly one document output view

Snap outputs a list of tables in a database. Documents with a "name" field containing the fully-qualified name of the table and a "type" field. To use the table name in another Snap, like a Select or Insert, you can pass it through for each Snap to another Pipeline with the Select or Insert.

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

when 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 fieldsetfield set.

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

  • Upload icon ((blue star) ): Indicates that you can upload files.

Field

Field Type

Description

Label*

Default Value: AlloyDB Table List
Example: List Tables

String

N/A

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.

Schema name

Default Value: N/A
Exampletest

String/Expression/Suggestion

N/A

The database schema name.

In case

If it is not defined, then the suggestion for the table name will retrieve all tables names of all schemas. The property is suggestible and will retrieve available database schemas during suggest values.

Compute table graph

Default ValueNot selected
Example: Selected

Checkbox

N/A

Computes the dependents among tables and returns each table with a list of tables it has foreign key references to. The ordering of outputted tables is from least dependent to most

-

dependent. 

Turning on this option will significantly slow down the Snap; leave it

should be left

as off unless you need it.

Snap Execution

Default ValueValidate & Execute
Example: Execute Only

Dropdown list

N/A

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
  • runtime without generating preview data.

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

.

Example

...

Download and import the Pipeline into SnapLogic.

...

  • .

...

Provide Pipeline parameters, as applicable.

Attachments
patterns*.slp, *.zip
sortByname

Snap Pack History

Insert excerpt
XYZ Google AlloyDB Snap PackXYZ
Google AlloyDB Snap Pack
nameGoogle AlloyDB SPH

...

...