Repository navigation
Backport #127401 to 26.3: Fix int96 overflow in parquet reader - #128753
Merged
Merged
Conversation
Contributor
|
Workflow [BackportPR], commit [d96c2bf] Summary: ✅ |
26.3 lacks the extended DateTime64 range, so values before 1900 are displayed clamped to 1900-01-01. The stored values are unchanged (05444 still checks the exact nanoseconds). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Blargian
pushed a commit
to Blargian/ClickHouse
that referenced
this pull request
Nov 3, 2026
The count-only query and the input_format_defaults_for_omitted_fields = 0 query added by ClickHouse#116666 test the native Parquet reader. The test was backported to 26.3 unchanged (ClickHouse#128501), and the 26.3 runner randomizes input_format_parquet_use_native_reader_v3 to 0 in about 1 of 6 runs. The legacy ParquetBlockInputFormat resolves every header column in initializeIfNeeded() before its count-only branch, so with input_format_parquet_allow_missing_columns = 0 the missing column `d` throws THERE_IS_NO_COLUMN (seen on the 26.3 backport ClickHouse#128753). Pin the reader in the SETTINGS of those two queries. A query-level pin overrides the runner's injected value for that query only, so the older reader-agnostic Parquet query keeps exercising the legacy reader on 26.3. On master the setting is obsolete and accepted without effect; the change matters once backported to 26.3 (same shape as ClickHouse#107970). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original pull-request #127401
Cherry-pick pull-request #128416
This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.
The PR source
The PR is created in the CI job