Skip to content

Commit

Permalink
Clarify that OffsetIndex may be present even if ColumnIndex is not
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed May 21, 2024
1 parent bf51116 commit 8d59c7d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/thrift/parquet.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,8 @@ struct PageLocation {
* Optional offsets for each data page in a ColumnChunk.
*
* Forms part of the page index, along with ColumnIndex.
*
* OffsetIndex may be present even if ColumnIndex is not.
*/
struct OffsetIndex {
/**
Expand All @@ -1026,6 +1028,8 @@ struct OffsetIndex {
*
* Forms part the page index, along with OffsetIndex.
*
* If this structure is present, OffsetIndex must also be present.
*
* For each field in this structure, <field>[i] refers to the page at
* OffsetIndex.page_locations[i]
*/
Expand Down

0 comments on commit 8d59c7d

Please sign in to comment.