Repository navigation
Reject out-of-range integer partition ID for Date instead of silent overflow or LOGICAL_ERROR on ALTER - #104250
Conversation
…te column Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Workflow [PR], commit [f1d4af0] Summary: ❌
AI ReviewSummaryThis PR fixes incorrect handling of out-of-range integer partition literals for ClickHouse Rules
Final Verdict
|
| def test_partition_simple(partition_table_simple): | ||
| q("ALTER TABLE test.partition_simple DETACH PARTITION 197001") | ||
| q("ALTER TABLE test.partition_simple ATTACH PARTITION 197001") | ||
| q("ALTER TABLE test.partition_simple DETACH PARTITION '197001'") |
There was a problem hiding this comment.
Looks like a bug in the test
e42f60e to
159e25a
Compare
159e25a to
dd69428
Compare
|
This is expected |
…te column from Int64
LLVM Coverage Report
Changed lines: 87.50% (7/8) · Uncovered code |
This comment was marked as low quality.
This comment was marked as low quality.
|
Backport labels have been automatically added based on https://github.com/ClickHouse/clickhouse-core-incidents/issues/1755 Labels added:
These labels ensure backport PRs are properly created for each affected release version. The release automation will create backport PRs as needed based on these labels. |
0175e65
…rflow Reject out-of-range integer partition ID for Date instead of silent overflow or LOGICAL_ERROR on ALTER
Cherry pick #104250 to 26.3: Reject out-of-range integer partition ID for Date instead of silent overflow or LOGICAL_ERROR on ALTER
…r Date instead of silent overflow or LOGICAL_ERROR on ALTER
Cherry pick #104250 to 26.4: Reject out-of-range integer partition ID for Date instead of silent overflow or LOGICAL_ERROR on ALTER
…r Date instead of silent overflow or LOGICAL_ERROR on ALTER
Cherry pick #104250 to 26.5: Reject out-of-range integer partition ID for Date instead of silent overflow or LOGICAL_ERROR on ALTER
…r Date instead of silent overflow or LOGICAL_ERROR on ALTER
Backport #104250 to 26.5: Reject out-of-range integer partition ID for Date instead of silent overflow or LOGICAL_ERROR on ALTER
Backport #104250 to 26.3: Reject out-of-range integer partition ID for Date instead of silent overflow or LOGICAL_ERROR on ALTER
…tion ID for Date instead of silent overflow or LOGICAL_ERROR on ALTER
STOR: out-of-range integer partition ID for a Date key in ALTER -> wrong (silent overflow) / exc. Effect in the production build a394e92: its upstream test(s) 01073_bad_alter_partition fail on it and pass on official 26.8.8.8, run on isolated servers (evidence/fix_ci_20260925/upstream_repro/server_triage_PROD263_vs_UP2688.tsv). Upstream patch unchanged, with its test(s): 01073_bad_alter_partition. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Linked issues
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Reject out-of-range integer partition ID for Date instead of silent overflow or LOGICAL_ERROR on ALTER
Fixes: #26263
Version info
26.6.1.10726.5.3.17,26.3.14.18