MINOR: adding changes guidelines #645
Perhaps as a follow on PR we can consolidate this text with the text in FormatChanges.md
Thank you @julienledem -- this looks like a nice step forward to me
As I think @emkornfield has mentioned before, we now have two sources of somewhat overlapping information (FormatChanges.md and the README) which would be nice to consolidate eventually
Should we mention something about deprecation here? If we intend to drop a field, we should likely be deprecating it in the current version so readers/writers have time to change if needed and then dropping it in the next version.
I'm still a little bit confused with the difference between Correct Partial Read and Best Effort Read. Does readers need to explicitly tell users what unsupported data are ignored? Otherwise it looks like data loss to me.
+1, I left a comment to this effect in the linked document as well. I'm not seeing a case where a best effort read is actually preferable if it can silently drop data.
@wgtmac: Yes, if they implement something else than a correct partial read the reader needs to explicitly tell users what unsupported data are ignored. It is totally fine to implement only correct partial read.
@divjotarora It can not silently drop data if this is explicitly what is being asked from the user (because then it is not silent). "I want to read all the data that can be read in the current state" is a fine request from the user. There's only risk of data loss if you think you are in correct partial read while being in best effort read. Which is why it is important to give it a name so that we can be on the same page.
The reasoning is that as a spec, we can not force implementations to only have correct partial read. And at least several of us think we should not try to. Correct partial read is fairly database centric and there are other ways in which people use the data.
Saying: "You shall only implement correct partial read" is a bit like recommending abstinence as birth control.
[edit: one last thought]
The goal is to focus on making sure the format's metadata clearly describes the data in a way that the reader knows what it can read or not and decides the correct behavior for their context. We want to avoid an accidental 'Incorrect Read' and that starts with proper forward compatible metadata.
Yes, this is the intent. I'll add a mention of this.
FormatChanges.md focuses on the terminology around making changes to the spec while this next section focuses on how we roll out those changes (using a feature flag, when to enable new features by default, etc). My plan is to work on this as we finalize the discussion on using version numbers which changes specifically this section.
See: https://docs.google.com/document/d/19bOTy1WcLs9NP88DrysG4wG50pM6gmIFaSEWzkxUeJw/edit?tab=t.sm5hivze2mbo#heading=h.z07scdrpcisw
alamb
julienledem
Rationale for this change
I created a page reflecting the content of the guidelines we have been discussing.
https://docs.google.com/document/d/19bOTy1WcLs9NP88DrysG4wG50pM6gmIFaSEWzkxUeJw/edit?tab=t.8veepidgez8a#heading=h.lkllwrkuv6vx
I initially opened it on parquet-site but moving it here, and now parquet-site renders content from this page
What changes are included in this PR?
This adds a page to the documentation
Do these changes have PoC implementations?
This is documentation.