You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/05/12 11:23:18 UTC

[GitHub] [arrow] pitrou commented on a change in pull request #10270: ARROW-12598: [C++][Dataset] Speed up CountRows for CSV

pitrou commented on a change in pull request #10270:
URL: https://github.com/apache/arrow/pull/10270#discussion_r630951509



##########
File path: cpp/src/arrow/csv/options.h
##########
@@ -101,6 +101,9 @@ struct ARROW_EXPORT ConvertOptions {
   /// or null by default)
   /// This option is ignored if `include_columns` is empty.
   bool include_missing_columns = false;
+  /// If true, no columns are decoded (record batches will have a row count and no
+  /// columns). This is useful if you need only a row count.
+  bool skip_decoding = false;

Review comment:
       I'd rather if you exposed a separate API. Is it easily doable?




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org