Repository navigation
Conversation
…-json-type-conversion" This reverts commit e903e88, reversing changes made to ace90f6. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
Internal second-model review (click to expand)Pure revert of #107866: re-applying its diff ( |
Collaborator
Author
Contributor
1 task done
Collaborator
Author
|
Closing: fixed by #133910, so this revert is no longer needed. |
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.
Reverts #107866
Related: #107866
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Description
#107866 introduced a server crash (UBSan
unsigned integer overflow: 0 - 1inconvertObjectColumns, on a JSON-to-JSONCASTof a column with shared data). It aborts the server in theamd_asan_ubsanandarm_asan_ubsanstateless jobs on every master commit since the merge (report). The reproducer crashes at the merge commit e903e88 and not at its first parent ace90f6 (amd_asan_ubsanbuilds, 5/5 vs 0/10 runs) and still crashes on master 022011d. The new code readsoffsets[row - 1]atrow = 0, which #120906 made fatal. An alternative fix is open in #133910.Proof
merge-attribution.py prove,amd_asan_ubsan,clickhouse local, GIT_HASH verified per build (the merge commit and its first parent built from source with the sanitizer flags of CI, because the first parent has no CI binary; master is the CI binary):FunctionsConversion.cpp:3649:55FunctionsConversion.cpp:3649:55The reverse
CASTgives the same 5/0/5 atFunctionsConversion.cpp:2929:73(newLeafTypedPathsNeedFormatParse).On this revert (
amd_asan_ubsanbuild): both reproducers 0 aborts in 10/10 runs each, both return{"a":1,"b":2}. The restored tests03272_json_to_json_alter,03272_json_to_json_cast_{1..6}and05301_json_shared_typed_paths_alterpass (theno-asanone on a debug build of the same commit).🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/133935]