-
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
[enhancement](csv_reader)Optimize the reading efficiency of nullable (string) columns. #24698
Conversation
clang-tidy review says "All clean, LGTM! 👍" |
run clickbench |
(From new machine)TeamCity pipeline, clickbench performance test result: |
run clickbench |
clang-tidy review says "All clean, LGTM! 👍" |
(From new machine)TeamCity pipeline, clickbench performance test result: |
run buildall |
TeamCity be ut coverage result: |
(From new machine)TeamCity pipeline, clickbench performance test result: |
@@ -335,6 +335,9 @@ Status CsvReader::init_reader(bool is_load) { | |||
} else { | |||
_options.map_key_delim = _params.file_attributes.text_params.mapkv_delimiter[0]; | |||
} | |||
if (is_load) { |
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.
Better check again, check if all columns are nullable string, in case that FE planner may change the behavior
318a4bb
to
2f1b992
Compare
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
2f1b992
to
ee63648
Compare
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
ee63648
to
b91a9af
Compare
clang-tidy review says "All clean, LGTM! 👍" |
run buildall |
TeamCity be ut coverage result: |
(From new machine)TeamCity pipeline, clickbench performance test result: |
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. |
clang-tidy review says "All clean, LGTM! 👍" |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
TeamCity be ut coverage result: |
(From new machine)TeamCity pipeline, clickbench performance test result: |
…(string) columns. (#24698) Optimize the performance of stream load tsv by reducing virtual function calls . (Optimize read performance of nullable (string) columns by reducing virtual function calls.) before : 600+ s after : 560+ s
Proposed changes
Issue Number: close #xxx
Optimize the performance of stream load tsv by reducing virtual function calls .
(Optimize read performance of
nullable (string)
columns by reducing virtual function calls.)before : 600+ s
after : 560+ s
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...