Skip to content

Backport #116666 to 26.3: Fix a server abort on Parquet reads that record no missing values - #128501

Merged
alexey-milovidov merged 1 commit into
26.3from
backport/26.3/116666
Nov 1, 2026
Merged

alexey-milovidov merged 1 commit into
26.3from
backport/26.3/116666

Conversation

@robot-ch-test-poll2

Copy link
Copy Markdown
Contributor

Original pull-request #116666

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-ch-test-poll2 robot-ch-test-poll2 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 1, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [0e1cb5b]

Summary: ✅

@alexey-milovidov
alexey-milovidov merged commit 4a6eccb into 26.3 Nov 1, 2026
36 checks passed
@alexey-milovidov
alexey-milovidov deleted the backport/26.3/116666 branch November 1, 2026 22:06
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