alamb commented on issue #12364:
URL: https://github.com/apache/arrow-rs/issues/12364#issuecomment-7110485860

   So re-reading this now, 
   
   > Parquet's standard page headers do not identify their columns. That 
information normally comes from the schema and column metadata in the footer. I 
would like to repeat a column's identity and application-specific decoding 
descriptor in its first page header, making the information available where the 
cursor encounters the data.
   
   I see you have a very large PR in 
https://github.com/apache/arrow-rs/pull/12367 that I haven't had time to review 
yet
   
   I wonder what is the minimum API required to support your usecase? For 
example, what if we just offered some writer hook to add extra metadata to each 
DataPage headers and a reader hook to see it is that enough?
   
   Maybe we could start this this exercise with an illustrating example program 
(a simplied version of what you are trying to build) that shows something like 
creating 5 files, then what code would be needed to read it in a single forward 
pass, merging the columns together. I was thinking that example might 
   1. help confirm the APIs are indeed usable by downstream crates
   2. also help show that this feature can be used by multiple other consumers 
(and thus enhance the argument for adding it to the parquet crate)
   
   
   


-- 
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]

Reply via email to