HuaHuaY commented on code in PR #51118:
URL: https://github.com/apache/arrow/pull/51118#discussion_r3954791503


##########
cpp/src/arrow/csv/parser.cc:
##########
@@ -452,6 +493,10 @@ class BlockParserImpl {
   AbortLine:
     // Not a full line except perhaps if in final block
     if (is_final) {
+      if constexpr (IgnoreExtraColumns) {
+        // Handle an implicit trailing empty field after a delimiter.
+        ignoring_extra_field = IsExtraField();
+      }
       goto LineEnd;
     }

Review Comment:
   This appears to be a legacy issue and was not introduced by the current PR.



-- 
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]

Reply via email to