...
Snap type: | Write
| |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Description: | The TPT (Teradata Parallel Transport) Delete Snap allows you to delete the data by executing the script generated using the upstream document provided by the user. The Snap deletes the table data with the values provided in the input view and using the delete condition provided in the Delete Condition property, and provides the console output, status code and summary on the output view for any downstream Snap checking for successful execution.
Give the delete Condition as follows:
Allows logical operators like GE (Greater than or equals), GT (Greater than), LT (Less than), LE(Less than or equals), IS NULL, IS NOT NULL etc..
| |||||||||
Prerequisites: | TPT Snaps (TPT Insert, TPT Update, TPT Delete, TPT Upsert and TPT Load) uses the 'tbuild' utility for the respective operations. In order to use these snaps in the pipelines, these respective utilities should be installed/available on the Snapplexes.
| |||||||||
Basic steps for installing the TPT utilities: | Procedure to install the Teradata tools and utilities:
Flow: If tbuild or fastload is already available in the OS path then the corresponding TPT Snap can call the utility, however, if these binaries are not available in the OS path, then we need to provide the absolute path of the respective binary in the Snap. | |||||||||
Support and limitations: |
| |||||||||
Account: | This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. See Teradata Database Account for information on setting up this type of account.
| |||||||||
Views: |
| |||||||||
Settings | ||||||||||
Label | Required. 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
| The database schema name. In case it is not defined, the suggestion for the table name will retrieve all the table names of all the schemas. The property is suggestible and will retrieve available database schemas during suggest values. Example: SYS Default value: [None] | |||||||||
Table name | Required. Name of the table to insert records into. Example: people Default value: [None] | |||||||||
TBUILD Location
| Location of the tbuild application. Example: /usr/bin/tbuild Default value: [None] | |||||||||
Delete Condition
| Delete Statement to be executed to delete the table data which matches given delete condition. If no condition specified in the Delete Condition field then entire table data will be deleted from the specified database. Please note that, due to Teradata's requirement, an equality operator '=' is not allowed with PI (Primary Index). For example, if 'empno' is a PI, "empno=:empno" will cause an error "RDBMS error 3537: A MultiLoad DELETE Statement is Invalid." Example: empno < 1000 Default value: [None] | |||||||||
Execute during preview
| Executes the Snap during a pipeline Save operation so that the output view can produce the preview data. Default value: Not Selected |
...