Snap type | Write | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description | This Snap enables you to execute SQL statements in a Vertica database. Tables can be created and dropped with this Snap. SELECT queries can also be executed. This Snap works only with single queries.
| |||||||||||||||||||||||||||||||||||||||||
Prerequisites | N/A | |||||||||||||||||||||||||||||||||||||||||
Support and limitations | Works in Ultra Task Pipelines. | |||||||||||||||||||||||||||||||||||||||||
Behavior Change |
| |||||||||||||||||||||||||||||||||||||||||
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 |
| |||||||||||||||||||||||||||||||||||||||||
Settings | ||||||||||||||||||||||||||||||||||||||||||
Label* | 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. | |||||||||||||||||||||||||||||||||||||||||
SQL statement* | Specify the SQL statement to execute on the server. There are two possible scenarios that you encounter when working with SQL statements in SnapLogic. You must understand the following scenarios to successfully execute your SQL statements:
Known issue: When the SQL statement property is an expression, the pipeline parameters are shown in the suggest, but not the input schema.
| |||||||||||||||||||||||||||||||||||||||||
Query type | Select the type of query for your SQL statement (Read or Write). When Auto is selected, the Snap tries to determine the query type automatically. Default Value: Auto | |||||||||||||||||||||||||||||||||||||||||
Pass through | Select this checkbox to pass the output view under the key 'original'. This property applies only to the Execute Snaps with SELECT statement. Default Value: Selected | |||||||||||||||||||||||||||||||||||||||||
Ignore empty result | If selected, no document will be written to the output view when a SELECT operation does not produce any result. If this property is not selected and the Pass through property is selected, the input document will be passed through to the output view. Default Value: Not selected | |||||||||||||||||||||||||||||||||||||||||
Number of retries | The maximum number of times that the process must be retried before displaying an error. Default Value: 0 | |||||||||||||||||||||||||||||||||||||||||
Retry interval (seconds) | Specify the maximum resting time in seconds between subsequent retries. Default Value: 1 | |||||||||||||||||||||||||||||||||||||||||
Auto commit | Select one of the options for this property to override the state of the Auto commit property on the account. The Auto commit at the Snap level has three values: True, False, and Use account setting. The expected functionality for these modes are:
Default Value: Use account setting
| |||||||||||||||||||||||||||||||||||||||||
|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|