Skip to content

Commit

Permalink
Liquid Clustering can be executed automatically or manually
Browse files Browse the repository at this point in the history
  • Loading branch information
jaceklaskowski committed Feb 10, 2024
1 parent 7dc6963 commit 6768ab5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/liquid-clustering/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ subtitle: Clustered Tables

# Liquid Clustering

**Liquid Clustering** (_Clustered Tables_) is an optimization technique in Delta Lake to trigger [OPTIMIZE](../commands/optimize/index.md) command with [Hilbert clustering](../commands/optimize/HilbertClustering.md) at the end of a successful write (with [Auto Compaction](../auto-compaction/index.md) enabled).

In other words, [Auto Compaction](../auto-compaction/index.md) has to be enabled for Liquid Clustering to be even considered.
**Liquid Clustering** (_Clustered Tables_) is an optimization technique in Delta Lake based on [OPTIMIZE](../commands/optimize/index.md) command with [Hilbert clustering](../commands/optimize/HilbertClustering.md).

!!! warning "Not Recommended for Production Use"
1. A clustered table is currently in preview and is disabled by default.
1. A clustered table is not recommended for production use (e.g., unsupported incremental clustering).

Liquid Clustering optimization can be executed on delta tables automatically or manually, at write time with [Auto Compaction](../auto-compaction/index.md) enabled or using [OPTIMIZE](../commands/optimize/index.md) command, respectively.

Liquid Clustering can be enabled system-wide using [spark.databricks.delta.clusteredTable.enableClusteringTablePreview](../configuration-properties/index.md#spark.databricks.delta.clusteredTable.enableClusteringTablePreview) configuration property.

```sql
Expand Down

0 comments on commit 6768ab5

Please sign in to comment.