alamb opened a new pull request, #581:
URL: https://github.com/apache/parquet-format/pull/581

   ### Rationale for this change
   - Part of  https://github.com/apache/parquet-format/issues/384
   
   As described on the  [mailing list 
thread](https://lists.apache.org/thread/st8l40z5n4cx5c22rcog50ws4pkzdc3s) about 
versions, there is currently no way for a parquet reader to know which if the 
many parquet features it may encounter in a partcular file
   
   The current `version` field in the thirft metadata is insufficient because:
   2. There is no agreed upon definition of `version` and many writers use it 
incorrectly: 
https://github.com/apache/parquet-format/blob/74001e41f5c5a1856b29be115f9c992cab16a4bf/src/main/thrift/parquet.thrift#L1368-L1373
   1.  Even if we agreed to use the `version` field, version "`2`" has several 
forward incompatible changes (see 
https://github.com/apache/parquet-site/pull/186) meaning a reader doesn't know 
what features it may encounter
   
   ### What changes are included in this PR?
   
   Add a `minor_version` field to the thrift metadata to encode the minor 
version of parquet-format. Readers can use this field to determine what 
features it may encounter.
   
   This field would be ignored by older readers
   
   ### Do these changes have PoC implementations?
   
   Not yet


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to