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: 

Delta Table Properties

ramdasp1
New Contributor

Hi 

When I look at the properties of a delta table I see these two properties that are set to a value of 1.

I went through the manual for these properties and this is what the manual says.

delta.minReaderVersion: The minimum required protocol reader version for a reader that allows to read from this Delta table.

delta.minWriterVersion: The minimum required protocol writer version for a writer that allows to write to this Delta table.

I did not understand the above explanation. Can someone simplify it for me, Please.

Kind Regards

RP

3 REPLIES 3

szymon_dybczak
Contributor III

Those properties indicates information about backwards compatibility for reader/writer interface in Delta.

Delta Lake guarantees backward compatibility. A higher protocol version of the Delta Lake reader is always able to read data that was written by a lower protocol version.

You can find more detailed explanation below:

https://docs.delta.io/2.0.2/versioning.html

CPRP
New Contributor II

Hi

I dont see any option to mark it as the accepted solution.

Please go ahead and mark it for me (if possible).

 

Brahmareddy
Valued Contributor III

Hi Ramdas1,

Let me explain you in simple terms with an example.

A Delta table is like a special book for data. delta.minReaderVersion is the minimum version of the "reader" you need to open and read the book, while delta.minWriterVersion is the minimum version of the "pen" needed to add or change pages. Both set to 1 means any basic tool can read and write to the table, making it widely compatible.

Thanks,

Brahma

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