Versions Compared

Key

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

On this page

Table of Contents

...

Limitations and Known Issues

None.

Snap Views

...

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:

...

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input

Document

  • Min: 1

  • Max: 1

  • Mapper

  • Copy

The records to be deleted.

Output

Document 

  • Min: 0

  • Max: 1

NA

The original document with the status of the delete operation.

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.

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.

Snap Settings

Info
  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon ((blue star)): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ((blue star)): Indicates whether the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ((blue star)): Indicates that you can add fields in the field set.

  • Remove icon ((blue star)): Indicates that you can remove fields from the field set.

Table name* N/AThe 2
value1SOAP Execute 2

Field Name

Field Type

Description

Label*

 

Default ValueVertica - Insert
ExampleVertica - 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
Examplepublic

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.

Note

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

Example: public

Table name*

Default Value: N/A
Example: "dbo"."Employee"

String/Expression/Suggestion

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.

ExampleEmp

Create table if not present

Default value: Not selected
Example: N/A

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.Default value: Not selected

Number of Retries

Default Value: 0
Example:

Number of retries

 3

Integer/Expression

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

Retry interval (seconds)

Retry interval (Seconds)

Default Value: 1
Example: 

10

Integer/Expression

Specify the maximum resting time in seconds between subsequent retries.

Snap Execution

Default

Value

Multiexcerpt include macro
nameSnap Execution
page

Execute only
Example:

Validate & Execute

Dropdown list

Multiexcerpt include macro
nameExecution_Detail_Write
pageSOAP Execute

...