Uh oh!
There was an error while loading. Please reload this page.
[fix](csv reader) fix csv parser incorrect if enclosing line_delimiter - #38347
Conversation
doris-robot
commented
Jul 25, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
sollhui
commented
Jul 25, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
sollhui
commented
Jul 25, 2024
run buildall |
1 similar comment
sollhui
commented
Jul 25, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
| if (_idx != _total_len) { | ||
| len = update_reading_bound(start); | ||
| } else { | ||
| _result = nullptr; |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
Co-authored-by: Xin Liao <liaoxinbit@126.com>
sollhui
commented
Jul 25, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
2 similar comments
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Jul 25, 2024
TPC-H: Total hot run time: 39273 ms |
doris-robot
commented
Jul 25, 2024
TPC-DS: Total hot run time: 173216 ms |
doris-robot
commented
Jul 25, 2024
ClickBench: Total hot run time: 30.82 s |
#38347) (#38446) Csv reader parse data incorrect when data enclosing line_delimiter, for example, line_delimiter is \n and enclose is ', data as follows: ``` 'aaaaaaaaaaaa bbbb' ``` it will be parsed as two columns: `'aaaaaaaaaaaa` and `bbbb',` rather than one column ``` 'aaaaaaaaaaaa bbbb' ``` The reason why this happened is csv reader will not reset result when not match enclose in this `output_buf_read`, causing incorrect truncation was made. Co-authored-by: Xin Liao <liaoxinbit@126.com>
#38347) (#38445) Csv reader parse data incorrect when data enclosing line_delimiter, for example, line_delimiter is \n and enclose is ', data as follows: ``` 'aaaaaaaaaaaa bbbb' ``` it will be parsed as two columns: `'aaaaaaaaaaaa` and `bbbb',` rather than one column ``` 'aaaaaaaaaaaa bbbb' ``` The reason why this happened is csv reader will not reset result when not match enclose in this `output_buf_read`, causing incorrect truncation was made. Co-authored-by: Xin Liao <liaoxinbit@126.com>
#38347) Csv reader parse data incorrect when data enclosing line_delimiter, for example, line_delimiter is \n and enclose is ', data as follows: ``` 'aaaaaaaaaaaa bbbb' ``` it will be parsed as two columns: `'aaaaaaaaaaaa` and `bbbb',` rather than one column ``` 'aaaaaaaaaaaa bbbb' ``` The reason why this happened is csv reader will not reset result when not match enclose in this `output_buf_read`, causing incorrect truncation was made. Co-authored-by: Xin Liao <liaoxinbit@126.com>
bludwujiang
commented
Nov 12, 2024
Is anybody knew how to get rid of enclose symbol from column-value itself When Using stream-load CSV? |
sollhui
commented
Dec 6, 2024
Can you give an example? |
apache#38347) (apache#38446) Csv reader parse data incorrect when data enclosing line_delimiter, for example, line_delimiter is \n and enclose is ', data as follows: ``` 'aaaaaaaaaaaa bbbb' ``` it will be parsed as two columns: `'aaaaaaaaaaaa` and `bbbb',` rather than one column ``` 'aaaaaaaaaaaa bbbb' ``` The reason why this happened is csv reader will not reset result when not match enclose in this `output_buf_read`, causing incorrect truncation was made. Co-authored-by: Xin Liao <liaoxinbit@126.com>
apache#38347) Csv reader parse data incorrect when data enclosing line_delimiter, for example, line_delimiter is \n and enclose is ', data as follows: ``` 'aaaaaaaaaaaa bbbb' ``` it will be parsed as two columns: `'aaaaaaaaaaaa` and `bbbb',` rather than one column ``` 'aaaaaaaaaaaa bbbb' ``` The reason why this happened is csv reader will not reset result when not match enclose in this `output_buf_read`, causing incorrect truncation was made. Co-authored-by: Xin Liao <liaoxinbit@126.com>
Csv reader parse data incorrect when data enclosing line_delimiter, for example, line_delimiter is \n and enclose is ', data as follows:
it will be parsed as two columns:
'aaaaaaaaaaaaandbbbb',rather than one columnThe reason why this happened is csv reader will not reset result when not match enclose in this
output_buf_read, causing incorrect truncation was made.