pitrou commented on code in PR #51286:
URL: https://github.com/apache/arrow/pull/51286#discussion_r4410452585
##########
cpp/src/arrow/csv/parser.cc:
##########
@@ -59,6 +60,22 @@ Status MismatchingColumns(const InvalidRow& row) {
inline bool IsControlChar(uint8_t c) { return c < ' '; }
+enum class DelimiterMatch { kNoMatch, kMatch, kPartial };
+
+DelimiterMatch MatchDelimiter(std::string_view delimiter, const char* data,
Review Comment:
To give the compiler more freedom to inline it in the caller (though not
sure that's necessary either, especially as it's in the anonymous namespace.
--
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]