/
Vertica - Insert

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

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input

Document

  • Min: 1

  • Max: 1

  • Mapper

  • Copy

The records to be inserted.

Output

Document 

  • Min: 0

  • Max: 1

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:

  • Stop Pipeline Execution: Stops the current pipeline execution when 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.