Skip to content

Commit 4ce5a4e

Browse files
committed
docs: note Databricks liquid clustering AUTO/NONE keywords in integration docs
Signed-off-by: EhabEasee <ehab.elbadrawi@easee.com>
1 parent 7892710 commit 4ce5a4e

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
@@ -288,3 +288,23 @@ MODEL (
288288

289289
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.`.
290290
[Databricks Documentation for more details](https://docs.databricks.com/en/delta/column-mapping.html#requirements).
291+
292+
## Liquid Clustering
293+
294+
SQLMesh supports the liquid clustering keywords AUTO and NONE
295+
296+
```sql
297+
MODEL (
298+
name sqlmesh_example.new_model,
299+
...
300+
clustered_by AUTO
301+
)
302+
```
303+
To cluster by a column called `auto` or `none`, use parentheses and backticks
304+
```sql
305+
MODEL (
306+
name sqlmesh_example.new_model,
307+
...
308+
clustered_by (`auto`)
309+
)
310+
```

0 commit comments

Comments
 (0)