Versions Compared

Key

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


Snap type:

Write


Description:

This Snap executes a SQL INSERT statement to insert records into the selected table of a Vertica database. The Snap uses the document's keys as columns and document's values as values to insert records.
 

Prerequisites:

N/A

Support and limitations:

Works in Ultra Task Pipelines if batching is disabled.

Account: 

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

Views:


InputThis Snap has exactly one input view.
OutputThis Snap has at most one output view.
Error

This Snap has at most one error view and produces zero or more documents in the view.

Note
Database Write Snaps output all records of a batch (as configured in your account settings) to the error view if the write fails during batch processing.



Settings

Label*


Specify 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*


Specify the database schema name. Selecting a schema filters the Table name list to show only those tables within the selected schema. The property is suggestible and retrieves available database schemas during suggest values.

Note

The values can be passed using the pipeline parameters but not the upstream parameter.

Example: public

Table name*


Specify the table on which to execute the insert operation.

Note

The values can be passed using the pipeline parameters but not the upstream parameter.

ExampleempEmp

Create table if not present


Select this check box to automatically create the target table if it does not exist.

In the absence of a second input view (the schema/metadata document), the Snap creates a table based on the data types of the columns generated from the first row of the input document (first input view)

.

Default value: Not selected
Example: N/A

Preserve case sensitivity
Insert excerpt
MySQL - Insert
MySQL - Insert
nopaneltrue
Number of retries

Specify the maximum number of times that the process must be retried before displaying an error.

Default value0
Example2

Retry interval (seconds)

The maximum resting time in seconds between subsequent retries.

Default value: 1
Example: 2

Multiexcerpt include macro
nameSnap Execution
pageSOAP Execute

Multiexcerpt include macro
nameExecution_Detail_Write
pageSOAP Execute

Insert excerpt
Azure SQL - Bulk Load
Azure SQL - Bulk Load
nopaneltrue


Insert excerpt
Vertica Snap Pack
Vertica Snap Pack
nopaneltrue