Hi everyone,
I noticed Databricks recently released the automatic liquid clustering feature, which looks very promising. I'm currently implementing a DLT pipeline and would like to leverage this new functionality.
However, I'm having trouble figuring out the correct syntax to integrate automatic liquid clustering within my DLT pipeline. I've tried the following code, but it doesn't seem to be working as expected.
dlt.create_streaming_table(
"table_a",
schema=""" id STRING NOT NULL,
description STRING NOT NULL,
is_current BOOLEAN NOT NULL,
""",
cluster_by=["auto"],
comment="table a with automatic liquid clustering",
)
Could someone please provide an example of the correct syntax for using automatic liquid clustering within a Databricks DLT pipeline? Any guidance or best practices would be greatly appreciated!
Thanks in advance!