cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Table Properties different for liquid clustering with Databricks version.

NhanNguyen
Contributor III

Dear all,

Today, I tried the liquid clustering in Databricks, but after running it with two Databricks engine version, it showed different properties in the catalog explorer.

1. Run with DBR version 14.3 LTS (includes Apache Spark 3.5.0, Scala 2.12) it will show:

clusteringColumns=[["col1"],["col2"]]

2. Run with DBR version 13.3 LTS (includes Apache Spark 3.4.1, Scala 2.12) it will show:

delta.liquid.clusteringColumns=col1,col2

I have a question: Why do we have these differences, and were both case tables successfully enabled for liquid clustering?

Thanks guys!

 

 
2 REPLIES 2

holly
Databricks Employee
Databricks Employee

Hi there, can I get a bit more detail?

  1. Is this the same table that is showing differently depending on what you used to query it last? Or is this two separate tables created with different runtimes?
  2. Are there any differences in the metadata files that are stored alongside the parquet files?
  3. Are the tables the same delta versions?

I have a suspicion that the later version has an updated way of representing the columns

VZLA
Databricks Employee
Databricks Employee

Correct, like @holly rightly said this is just an updated way of representing the columns in a more structured or updated manner, it may also be matching a new value type. In both cases the table property is reflecting that LC was enabled. Our suggestion is to go with DBR 15 as there are improvements and validations on top worth leveraging.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group