-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[chore](conf) Specify UTF8 as the default charset. #39521
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
TPC-H: Total hot run time: 38886 ms
|
TPC-DS: Total hot run time: 195283 ms
|
ClickBench: Total hot run time: 30.9 s
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
6085bda
to
bf60f36
Compare
run buildall |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 38760 ms
|
TPC-DS: Total hot run time: 198371 ms
|
ClickBench: Total hot run time: 31.38 s
|
run cloud_p0 |
run cloud_p1 |
run external |
2 similar comments
run external |
run external |
According the [JEP 400](https://openjdk.org/jeps/400), UTF-8 was be used as the default charset of the JavaSE 18. But when you use the version below 18, the default charset depends on your locale. Usually, it can work well in many sence, but Apache Doris only supports UTF-8 as its charset, which may occur some decoding incorrectly. So it is necessary to set UTF8 as the default JDK charset.
## Proposed changes pick from #39521 <!--Describe your changes.-->
According the JEP 400, UTF-8 was be used as the default charset of the JavaSE 18. But when you use the version below 18, the default charset depends on your locale. Usually, it can work well in many sence, but Apache Doris only supports UTF-8 as its charset, which may occur some decoding incorrectly.
So it is necessary to set UTF8 as the default JDK charset.