Versions Compared

Key

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

On this Page

Table of Contents
maxLevel2
excludeOlder Versions|Additional Resources|Related Links|Related Information

Snap type:

Read


Description:

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

  • Expected input: [None]
  • Expected output: Documents with a "name" field containing the fully-qualified name of the table and a "type" field that is currently fixed to the string "TABLE".  To use the table name in another Snap, like a Select or Insert, you can pass it through a ForEach Snap to another pipeline with the Select or Insert.


Prerequisites:

[None]


Support and limitations:Ultra pipelines: 

Works in Ultra

Pipelines.Spark mode: Not supported in Spark mode

Task Pipelines.

Account: 

This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. See Configuring PostgreSQL Accounts for information on setting up this type of account.


Views:


InputThis Snap has at most one document input view.
OutputThis Snap has exactly one document output view.
ErrorThis Snap has at most one document error view and produces zero or more documents in the view.


Settings

Label


Required.The 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.

Schema name



The database schema name. In case 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.

Example: test

Default value: [None]


Compute table graph

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. 
Note: Turning on this option will significantly slow down the Snap; it should be left as off unless you need it.

Default value: Not selected
 

Multiexcerpt include macro
nameSnap Execution
pageAnaplan Read


Multiexcerpt include macro
nameSnap_Execution_Introduced
pageAnaplan Read



Insert excerpt
PostgreSQL Snap Pack
PostgreSQL Snap Pack
nopaneltrue