Repository navigation
Backport #99339 to 26.2: Revert "Merge pull request #96194 from scanhex12/add_schema_s3_check" - #99389
Merged
Conversation
…ex12/add_schema_s3_check"
robot-clickhouse
force-pushed
the
backport/26.2/99339
branch
from
March 13, 2026 12:23
33aa774 to
27bc647
Compare
Contributor
|
Workflow [BackportPR], commit [27bc647] |
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 #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 duringCREATEto ensure explicitly-declared columns exist, leaving only a basic check that the schema contains ordinary columns viavalidateSupportedColumns().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=0to succeed even if declared columns don’t exist in the Parquet data (with follow-upSELECTassertingUNKNOWN_IDENTIFIER).Written by Cursor Bugbot for commit 27bc647. This will update automatically on new commits. Configure here.
Version info
26.2.5.26