Vertica - Bulk Upsert

The Vertica - Bulk Upsert Snap executes a Vertica bulk upsert operation.

This Snap inserts new records or updates existing records in a Vertica table based on key columns, using the COPY command for efficient bulk operations.
vertica-bulk-upsert-overview

Prerequisites

None.

Supported Accounts

Snap views

Type Description Examples of upstream and downstream Snaps
Input

This Snap has exactly one document input view.

Output

This Snap has at most one document output view.

Learn more about Error handling.

Snap settings

Legend:
  • Expression icon (): Allows using pipeline parameters to set field values dynamically (if enabled). SnapLogic Expressions are not supported. If disabled, you can provide a static value.
  • SnapGPT (): Generates SnapLogic Expressions based on natural language using SnapGPT. Learn more.
  • Suggestion icon (): Populates a list of values dynamically based on your Snap configuration. You can select only one attribute at a time using the icon. Type into the field if it supports a comma-separated list of values.
  • Upload : Uploads files. Learn more.
Learn more about the icons in the Snap settings dialog.
Field/Field set Description
Label

String

Required. Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline.

Default value: Vertica Bulk Upsert

Example: Vertica Bulk Upsert
Schema name

String/Expression/ Suggestion

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

Default value: N/A

Example: public

Table name

String/Expression/ Suggestion

Required. Specify the table on which to execute the bulk upsert operation.
Note: The values can be passed using the pipeline parameters but not the upstream parameter.

Default value: N/A

Example: emp

Key columns

String/Expression

Required. Specify the columns to use to check for existing entries in the target table. If a record with matching key column values exists, it is updated; otherwise, a new record is inserted.

Default value: N/A

Truncate data

Checkbox

Truncate the existing data before performing the data load. With the Bulk Update Snap, instead of executing truncate and then update, using a Bulk Insert Snap would be faster.

Default value: Not selected

Maximum error count

Integer/Expression

Required. Specify the maximum number of rows that can fail before the bulk load operation is stopped. When this value is set to zero, the load will not stop on rejections.

Default value: 0

Truncate columns

Checkbox

Truncate column values that are larger than the maximum column length in the table.

Default value: Selected

Additional options

String/Expression

Additional options to be passed to the COPY command. See Copy Parameters for the available options.

Default value: N/A

Snap Execution

Dropdown list

Choose one of the three modes in which the Snap executes. The available options are:

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.

Default value: Execute only

Example: Validate & Execute