Skip to content

Commit ecca850

Browse files
committed
docs: note Databricks liquid clustering AUTO/NONE keywords in integration docs
1 parent 679f6e5 commit ecca850

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

docs/integrations/engines/databricks.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,3 +310,23 @@ MODEL (
310310

311311
If you attempt to alter without having this property set, you will get an error similar to `databricks.sql.exc.ServerOperationError: [DELTA_UNSUPPORTED_DROP_COLUMN] DROP COLUMN is not supported for your Delta table.`.
312312
[Databricks Documentation for more details](https://docs.databricks.com/en/delta/column-mapping.html#requirements).
313+
314+
## Liquid Clustering
315+
316+
SQLMesh supports the liquid clustering keywords AUTO and NONE
317+
318+
```sql
319+
MODEL (
320+
name sqlmesh_example.new_model,
321+
...
322+
clustered_by AUTO
323+
)
324+
```
325+
To cluster by a column called `auto` or `none`, use parentheses and backticks
326+
```sql
327+
MODEL (
328+
name sqlmesh_example.new_model,
329+
...
330+
clustered_by (`auto`)
331+
)
332+
```

0 commit comments

Comments
 (0)