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
New Contributor III

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.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!