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: 

Bug with enabling UniForm Data Format?

stevenayers-bge
Contributor

In the documentation for enabling iceberg compatibility on delta tables, it states that the minReaderVersion for IcebergCompatV1 and IcebergCompatV2 is 2 (https://docs.databricks.com/en/delta/uniform.html#requirements).

However, when you run the REORG TABLE command to enable uniform format:

REORG TABLE table_name APPLY (UPGRADE UNIFORM(ICEBERG_COMPAT_VERSION=2));

 The table's minReaderVersion is upgraded to 3. Is there a reason for this or is this a bug?

2 REPLIES 2

daniel_sahal
Esteemed Contributor

@stevenayers-bge 
I've just checked source code of delta and you're right - documentation states that tat minReaderVersion should be >=2, but source code is upgrading it to 3

https://github.com/delta-io/delta/blob/78970abd96dfc0278e21c04cda442bb05ccde4a1/spark/src/main/scala...

That's either a bug in a code or mistake in documentation. I'll raise an issue to delta on github.

ADB
New Contributor II

databricks autoloader is not able to generate  iceberg metadata json file for incremental load.For initial Load   iceberg medata json file generated.

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