Skip to content

Backport #127401 to 26.3: Fix int96 overflow in parquet reader - #128753

Merged
PedroTadim merged 3 commits into
26.3from
backport/26.3/127401
Nov 3, 2026
Merged

PedroTadim merged 3 commits into
26.3from
backport/26.3/127401

Conversation

@robot-clickhouse

Copy link
Copy Markdown
Member

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

@robot-clickhouse robot-clickhouse added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Nov 2, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [d96c2bf]

Summary: ✅

PedroTadim and others added 2 commits November 3, 2026 08:52
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]>
@PedroTadim
PedroTadim merged commit ee4b54b into 26.3 Nov 3, 2026
36 checks passed
@PedroTadim
PedroTadim deleted the backport/26.3/127401 branch November 3, 2026 14:11
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants