Skip to content

[GH-3609]: Add new sort order for int96 timestamps#3610

Open
divjotarora wants to merge 1 commit into
apache:masterfrom
divjotarora:int96-stats
Open

[GH-3609]: Add new sort order for int96 timestamps#3610
divjotarora wants to merge 1 commit into
apache:masterfrom
divjotarora:int96-stats

Conversation

@divjotarora

Copy link
Copy Markdown
Contributor

Rationale for this change

See parquet-format proposal for rationale: apache/parquet-format#584

What changes are included in this PR?

Add new INT96_TIMESTAMP_ORDER sort order and related parsing. On the writer side, the PR adds a default-false parquet.int96.timestamp.statistics.enabled flag. When enabled, int96 columns are written with the new order. When disabled, no stats are emitted for int96 columns. On the reader side, the PR adds a default-true parquet.int96.timestamp.statistics.read.enabled flag: int96 statistics are propagated only if the flag is enabled and they use the new order.

Are these changes tested?

Yes, new unit tests.

Are there any user-facing changes?

Two new flags and a Thrift change.

Closes #3609

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add new sort order for int96 timestamps

1 participant