-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[enchement](utf8)import enable_text_validate_utf8 session var #45537
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
@@ -2339,6 +2341,9 @@ public void setIgnoreShapePlanNodes(String ignoreShapePlanNodes) { | |||
}) | |||
public boolean enableAutoCreateWhenOverwrite = false; | |||
|
|||
@VariableMgr.VarAttr(name = ENABLE_TEXT_VALIDATE_UTF8, needForward = true) |
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.
add description field
run buildall |
TPC-H: Total hot run time: 40316 ms
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 198521 ms
|
ClickBench: Total hot run time: 33.14 s
|
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
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
…#45537) Problem Summary: When reading text format files in Hive catalog and TVF, sometimes you may encounter the exception `Only support csv data in utf8 codec`. I introduced a new session variable `enable_text_validate_utf8` to control whether to check the utf8 format. Introduced `enable_text_validate_utf8` session variable to control whether to check the utf8 format.
…#45537) Problem Summary: When reading text format files in Hive catalog and TVF, sometimes you may encounter the exception `Only support csv data in utf8 codec`. I introduced a new session variable `enable_text_validate_utf8` to control whether to check the utf8 format. Introduced `enable_text_validate_utf8` session variable to control whether to check the utf8 format.
What problem does this PR solve?
Problem Summary:
When reading text format files in Hive catalog and TVF, sometimes you may encounter the exception
Only support csv data in utf8 codec
.I introduced a new session variable
enable_text_validate_utf8
to control whether to check the utf8 format.Release note
Introduced
enable_text_validate_utf8
session variable to control whether to check the utf8 format.Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)