Vertica - Delete

This Snap deletes records from a Vertica table based on a specified WHERE clause condition.
- This is a Write-type Snap.
Works in Ultra Tasks
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. |
|
| Error |
This Snap has at most one document error view and produces zero or more documents in the view. Warning: 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
- 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.
| Field/Field set | Description |
|---|---|
| Label
|
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 Delete Example: Vertica Delete |
| Schema name
|
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
|
Required. Specify the table
on which to execute the delete operation. Note: The values can be passed using the
pipeline parameters but not the upstream parameter. Default value: N/A Example: emp |
| Delete condition (deletes all records from table if left blank)
|
Specify the SQL WHERE clause of the delete
statement. The delete condition may also be passed via an upstream Snap or through
the pipeline parameters. The WHERE clause of the delete statement. Document field
values can be substituted into the WHERE clause by providing the path. For example,
$emp.empno would insert the field empno from the
emp object into the query (empno == $emp.empno
would become empno == 101 if $emp.empno evaluates
to 101).Note: Specify a valid WHERE clause for the delete condition. If you leave
this field blank, the Snap deletes all the records from the
table. Examples: Without using expressions:
Using expressions:
Warning: Using expressions that join strings together to create SQL
queries or conditions has a potential SQL injection risk and is hence unsafe.
Ensure that you understand all implications and risks involved before using
concatenation of strings with '=' Expression enabled. Default value: N/A |
| Number of retries
|
Specify the maximum number of times that the
process must be retried before displaying an error. Default value: 0 Example: 2 |
| Retry interval (seconds)
|
Specify the maximum resting time in seconds
between subsequent retries. Default value: 1 Example: 2 |
| Snap Execution
|
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 |