Truncating Apache Iceberg Tables
The TRUNCATE command deletes all rows from a table with minimal computation by restating the table with no data files.
note:
This command is not supported on Amazon Glue datasources.
{{< codeheader "Syntax" >}}
TRUNCATE [ TABLE ] [ IF EXISTS ] <table_path>.<table_name>
Parameters
{{< sql-section file="data/sql/apache-iceberg-tables.json" data="truncatingData" >}}