TRUNCATE statement. For more information, read TRUNCATE TABLE for Snowflake, TRUNCATE TABLE for Databricks, and TRUNCATE for Redshift, respectively. The second is by using a DELETE FROM statement, which is preferable if the current pipeline is using a transaction. For more information, read DELETE FROM for Snowflake, DELETE FROM for Databricks, and DELETE for Redshift, respectively.
- A truncate operation is faster than a delete operation.
- A truncate operation is not transaction safe—it cannot be rolled back.
Properties
- Snowflake
- Databricks
- Amazon Redshift
string
required
A human-readable name for the component.
drop-down
The Snowflake warehouse used to run the queries. The special value
[Environment Default] uses the warehouse defined in the environment. Read Overview of Warehouses to learn more.drop-down
The Snowflake database. The special value
[Environment Default] uses the database defined in the environment. Read Databases, Tables and Views - Overview to learn more.drop-down
required
The Snowflake schema. The special value
[Environment Default] uses the schema defined in the environment. Read Database, Schema, and Share DDL to learn more.dual-listbox
required
The tables you want to truncate.To use grid variables, select the Use Grid Variable checkbox at the bottom of the Target Table dialog.
