Skip to content

Commit

Permalink
Add for ColumnIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed Aug 21, 2024
1 parent fe815ea commit 1508aa2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/main/thrift/parquet.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ struct Statistics {
* Writers SHOULD always write this field even if it is zero (i.e. no null value)
* or the column is not nullable.
* Readers MUST distinguish between null_count not being present and null_count == 0.
* If null_count is not present, readers SHOULD NOT assume null_count == 0.
* If null_count is not present, readers MUST NOT assume null_count == 0.
*/
3: optional i64 null_count;
/** count of distinct values occurring */
Expand Down Expand Up @@ -1091,7 +1091,16 @@ struct ColumnIndex {
*/
4: required BoundaryOrder boundary_order

/** A list containing the number of null values for each page **/
/**
* A list containing the number of null values for each page
*
* Writers SHOULD always write this field even if no null value
* or the column is not nullable.
* Readers MUST distinguish between null_counts not being present
* and null_count is 0.
* If null_counts is not present, readers MUST NOT assume all
* null_count is 0.
*/
5: optional list<i64> null_counts

/**
Expand Down

0 comments on commit 1508aa2

Please sign in to comment.