pitrou commented on code in PR #242:
URL: https://github.com/apache/parquet-format/pull/242#discussion_r1603201663
##########
src/main/thrift/parquet.thrift:
##########
@@ -885,6 +971,44 @@ struct ColumnChunk {
9: optional binary encrypted_column_metadata
}
+struct ColumnChunkV3 {
+ /** File where column data is stored. **/
+ 1: optional string file_path
+
+ /** Byte offset in file_path to the ColumnChunkMetaDataV3, optionally
encrypted
+ ** CHANGED from v1: renamed to metadata_file_offset
+ **/
+ 2: required i64 metadata_file_offset
+
+ /** NEW from v1: Byte length in file_path of ColumnChunkMetaDataV3,
optionally encrypted
+ **/
+ 3: required i64 metadata_file_length
+
+ /** REMOVED from v1: meta_data, encrypted_column_metadata.
+ ** Use encoded_metadata instead.
+ **/
+
+ /** NEW from v1: Column metadata for this chunk, duplicated here from
file_path.
+ ** This is a Thrift-encoded ColumnChunkMetaDataV3, optionally encrypted.
+ **/
+ 4: optional binary encoded_metadata
Review Comment:
Yes, and it also merges "meta_data" and "encrypted_column_metadata" together.
--
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]