cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Bug with enabling UniForm Data Format?

stevenayers-bge
New Contributor II

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?

1 REPLY 1

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.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.