Uh oh!
There was an error while loading. Please reload this page.
[fix](nereids)Use utf-8 when convert string like literal to double. - #50085
Merged
Conversation
Thearas
commented
Apr 16, 2025
Contributor
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Jibing-Li
marked this pull request as ready for review
April 16, 2025 05:19
Jibing-Li
commented
Apr 16, 2025
ContributorAuthor
run buildall |
Jibing-Li
commented
Apr 16, 2025
ContributorAuthor
run p0 |
Jibing-Li
commented
Apr 16, 2025
ContributorAuthor
run performance |
Jibing-Li
commented
Apr 16, 2025
ContributorAuthor
run p0 |
doris-robot
commented
Apr 16, 2025
TPC-H: Total hot run time: 33776 ms |
doris-robot
commented
Apr 16, 2025
TPC-DS: Total hot run time: 191780 ms |
doris-robot
commented
Apr 16, 2025
ClickBench: Total hot run time: 29.08 s |
morrySnow
approved these changes
Apr 17, 2025
Contributor
PR approved by at least one committer and no changes requested. |
Contributor
PR approved by anyone and no changes requested. |
starocean999
approved these changes
Apr 18, 2025
Jibing-Li added a commit
to Jibing-Li/incubator-doris
that referenced
this pull request
Apr 18, 2025
…pache#50085) Use utf-8 when convert string like literal to double. StringLike columns in Doris are all stored with utf-8 encoding. So we need to use utf-8 encoding to read the column statistics min/max value. Otherwise, Java will use the system default encoding. In this case, doris may read wrong statistics min/max value.
Jibing-Li added a commit
to Jibing-Li/incubator-doris
that referenced
this pull request
Apr 18, 2025
…pache#50085) Use utf-8 when convert string like literal to double. StringLike columns in Doris are all stored with utf-8 encoding. So we need to use utf-8 encoding to read the column statistics min/max value. Otherwise, Java will use the system default encoding. In this case, doris may read wrong statistics min/max value.
koarz pushed a commit
to koarz/doris
that referenced
this pull request
Jun 4, 2025
…pache#50085) ### What problem does this PR solve? Use utf-8 when convert string like literal to double. StringLike columns in Doris are all stored with utf-8 encoding. So we need to use utf-8 encoding to read the column statistics min/max value. Otherwise, Java will use the system default encoding. In this case, doris may read wrong statistics min/max value.
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 freeto 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.
What problem does this PR solve?
Use utf-8 when convert string like literal to double.
StringLike columns in Doris are all stored with utf-8 encoding. So we need to use utf-8 encoding to read the column statistics min/max value. Otherwise, Java will use the system default encoding. In this case, doris may read wrong statistics min/max value.
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)