In this article
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
...
Field Name | Field Type | Description |
---|---|---|
Label* Default Value: AlloyDB Execute | String | Specify a unique name for the Snap. |
SQL Statement Default Value:
| String/Expression | Specify the SQL statement to execute on the server. Scenarios to successfully execute your SQL statements You must understand the following scenarios to successfully execute your SQL statements: Scenario 1: Executing SQL statements without expressions
Scenario 2: Executing SQL queries with expressions
Note: Table name and column names must not be provided as bind parameters. Only values can be provided as bind parameters. |
Pass through
| Checkbox | Select this checkbox to pass the input document to the output view under the key This field applies only for queries with the SELECT statement. |
Ignore empty result
| Checkbox | Select this checkbox to not write any document to the output view when a SELECT operation does not produce any result. |
Number of Retries
| Integer/Expression | Specify the maximum number of attempts to be made to receive a response. The request is terminated if the attempts do not result in a response. |
Retry Interval (Seconds)
| Integer/Expression | Specify the time interval between two successive retry requests. A retry happens only when the previous attempt resulted in an exception. |
Auto Commit
| Dropdown list | Choose one of the following options to override the state of the Auto commit on the account.
Auto commit may be enabled for certain use cases if AlloyDB JDBC driver is used in either Redshift, AlloyDB or generic JDBC Snap. But the JDBC driver may cause out of memory issues when Select statements are executed. In such cases, Auto Commit in Snap should be set to ‘False’ and the Fetch size in the Account settings can be increased for optimal performance. Behavior of DML Queries in Database Execute Snap when auto-commit is false
|
Snap Execution Default Value: Execute only | Dropdown list | Select one of the following three modes in which the Snap executes:
|
Troubleshooting
...
Error
...
Reason
...
Resolution
...
Account validation failed.
...
The Pipeline ended before the batch could complete execution due to a connection error.
...
Verify that the Refresh token field is configured to handle the inputs properly. If you are not sure when the input data is available, configure this field as zero to keep the connection always open.
Examples
Excluding Fields from the Input Data Stream
We can exclude the unrequired fields from the input data stream by omitting them in the Input schema field set. This example demonstrates how we can use the <Snap Name> to achieve this result:
<screenshot of Pipeline/Snap and description>
...
|
...
Downloads
Info |
---|
|
Attachments | ||||
---|---|---|---|---|
|
Snap Pack History
Insert excerpt |
---|
...
|
...
|
Related Links
...