HuaHuaY commented on code in PR #51286:
URL: https://github.com/apache/arrow/pull/51286#discussion_r4410931213
##########
cpp/src/arrow/csv/chunker.cc:
##########
@@ -141,6 +162,9 @@ class Lexer {
}
c = *data++;
if (SpecializedOptions::escaping && ARROW_PREDICT_FALSE(c ==
options_.escape_char)) {
+ if constexpr (SpecializedOptions::multi_delimiter) {
+ delimiter_matcher_.Reset();
+ }
Review Comment:
Other `Reset`s are moved to `FieldStart`, but the `Reset` here cannot be
omitted, as the code here starts an 'escape' char match.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]