Vertica - Insert
On this page
Overview
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 the document's values as values to insert records.
Snap Type
Vertica - Insert Snap is a WRITE-type Snap that inserts new records into a SQL database table.
Prerequisites
None.
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 records to be inserted. |
Output | Document |
| NA | The original document with the inserted records. |
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 when 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. 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. |
Snap Settings
Asterisk ( * ): Indicates a mandatory field.
Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.
Expression icon (): Indicates whether 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 field set.
Remove icon (): Indicates that you can remove fields from the field set.
Field Name | Field Type | Description |
---|---|---|
Label*
Default Value: Vertica - Insert | String | 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*
Default Value: N/A | String/Expression/Suggestion | 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. The values can be passed using the Pipeline parameters but not the upstream parameter. |
Table name*
Default Value: N/A | String/Expression/Suggestion | Specify the table on which to execute the insert operation. |
Create table if not present
Default value: Not selected | Checkbox | Select this check box to automatically create the target table if it does not exist. This Snap creates a table based on the data types of the columns generated from the first row of the input document. |
Number of Retries
Default Value: 0 | Integer/Expression | Specify the maximum number of times that the process must be retried before displaying an error. |
Retry interval (Seconds)
Default Value: 1 | Integer/Expression | Specify the maximum resting time in seconds between subsequent retries. |
Snap Execution
Default Value: Execute only | Dropdown list |
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.