Repository navigation
Make insertRangeFrom() more exception safe - #43338
Merged
Merged
Conversation
nickitat
reviewed
Nov 17, 2022
This should avoid possible out of sync and LOGICAL_ERROR exception 'offsets_column has data inconsistent with nested_column.' Signed-off-by: Azat Khuzhin <[email protected]>
Otherwise it is possible for offsets and chars go out of sync and eventually you will get LOGICAL_ERROR exception 'String offsets has data inconsistent with chars array' Signed-off-by: Azat Khuzhin <[email protected]>
azat
force-pushed
the
insertRangeFrom-safety
branch
from
November 18, 2022 12:09
17647ec to
0c84d8b
Compare
nickitat
approved these changes
Nov 18, 2022
Member
|
could you pls double check locally queries reported by perf tests? just in case. |
Member
Author
|
This does not looks related to me:
|
mdelapenya
added a commit
to mdelapenya/ClickHouse
that referenced
this pull request
Nov 25, 2022
* master: (331 commits) Revert "Fix endian issue in integer hex string conversion" Update sparse-primary-indexes.md to correct typo to MaterializeMySQL_support_drop_mulit_table-change ParserIdentifier to MaterializeMySQL_support_drop_mulit_table-clean up unnecessary code Make insertRangeFrom() more exception safe (ClickHouse#43338) Update docs/en/sql-reference/statements/create/view.md Update docs/en/sql-reference/statements/alter/projection.md Analyzer table functions untuple fix Revert "Add table_uuid to system.parts" Update 00176_bson_parallel_parsing.sh Update test.py doc fix bump lib for diag Update kafka.md check ast limits for create_parser_fuzzer Disable compressed marks and index in stress tests add a test with weird strings Update .reference Add information about written rows in progress indicator Avoid possible DROP hung due to attached web disk ...
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.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
While I was on #43336 I got
String offsets has data inconsistent with chars arrayerror, so here are some patches, but note, this may decrease the performance (I want to see at the perf tests):offsets_column has data inconsistent with nested_column.LOGICAL_ERROR)String offsets has data inconsistent with chars arrayLOGICAL_ERROR)