Lance
Docs /Integrations /Trino /Operations /DML /TRUNCATE TABLE

TRUNCATE TABLE

Remove all rows from a Lance table.

Syntax

TRUNCATE TABLE <table_name>

Parameters

Parameter Description
table_name Fully qualified table name: catalog.schema.table.

Examples

TRUNCATE TABLE lance.default.users;

Limitations

  • Truncating a table through a named ref (branch or tag) is not supported.