Skip to content

Backport #99339 to 26.2: Revert "Merge pull request #96194 from scanhex12/add_schema_s3_check" - #99389

Merged
nikitamikhaylov merged 1 commit into
26.2from
backport/26.2/99339
Mar 13, 2026
Merged

nikitamikhaylov merged 1 commit into
26.2from
backport/26.2/99339

Conversation

@robot-ch-test-poll4

@robot-ch-test-poll4 robot-ch-test-poll4 commented Mar 13, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #99339
Cherry-pick pull-request #99387

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


Note

Medium Risk
Removes the CREATE-time remote schema consistency check for object-storage engines, which can change which table definitions are accepted/rejected and may hide mismatches until query time.

Overview
Reverts remote schema consistency validation for object-storage engines. The PR deletes the validateColumns(...) path that re-inferred schema from a sample remote file during CREATE to ensure explicitly-declared columns exist, leaving only a basic check that the schema contains ordinary columns via validateSupportedColumns().

Tests are updated accordingly: the Parquet schema-validation integration test is removed, and the hive-partitioning stateless test now expects CREATE ... SETTINGS use_hive_partitioning=0 to succeed even if declared columns don’t exist in the Parquet data (with follow-up SELECT asserting UNKNOWN_IDENTIFIER).

Written by Cursor Bugbot for commit 27bc647. This will update automatically on new commits. Configure here.

Version info

  • Merged into: 26.2.5.26

@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-backport Changes, backported to release branch. Do not use manually - automated use only! label Mar 13, 2026
@clickhouse-gh

clickhouse-gh Bot commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [27bc647]

@nikitamikhaylov
nikitamikhaylov merged commit ddc71c9 into 26.2 Mar 13, 2026
29 of 33 checks passed
@nikitamikhaylov
nikitamikhaylov deleted the backport/26.2/99339 branch March 13, 2026 15:07
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!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants