# Liquid clustering

Glossary, read 10 Nov 2026

**The short answer.** Liquid clustering is a Databricks data layout feature that replaces table partitioning and Z-ordering. The table is declared with CLUSTER BY keys, OPTIMIZE clusters data incrementally, and the keys can be changed later without rewriting existing data. It is not compatible with partitioning or ZORDER on the same table.

Databricks recommends letting the platform manage layout and optimization for data in the table, and applies clustering when you run OPTIMIZE.

Liquid clustering is a Databricks feature, so portability to other engines should be checked table by table.

## A sourced example

The Databricks page shows ALTER TABLE t1 REPLACE PARTITIONED BY WITH CLUSTER BY (day, id) followed by OPTIMIZE t1, and says Runtime 16.0 and above can run OPTIMIZE FULL to force reclustering.

## Sources

- Use liquid clustering for tables (Databricks on AWS): https://docs.databricks.com/aws/en/delta/clustering (read 10 Nov 2026)

Last reviewed 10 Nov 2026. Canonical: https://datalakehousecompare.com/glossary/liquid-clustering/
