You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ks...@apache.org on 2020/04/20 19:21:51 UTC

[arrow] 09/28: ARROW-8499: [C++][Dataset] In ScannerBuilder, batch_size will not wor…

This is an automated email from the ASF dual-hosted git repository.

kszucs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git

commit 5ba9701aa9999f9f8382b6ba65bd919d21f8e3f4
Author: Hongze Zhang <ho...@intel.com>
AuthorDate: Fri Apr 17 10:56:54 2020 -0400

    ARROW-8499: [C++][Dataset] In ScannerBuilder, batch_size will not wor…
    
    …k if projecter is not empty
    
    Closes #6967 from zhztheplayer/ARROW-8499
    
    Authored-by: Hongze Zhang <ho...@intel.com>
    Signed-off-by: Benjamin Kietzman <be...@gmail.com>
---
 cpp/src/arrow/dataset/scanner.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpp/src/arrow/dataset/scanner.cc b/cpp/src/arrow/dataset/scanner.cc
index 701d900..a78450b 100644
--- a/cpp/src/arrow/dataset/scanner.cc
+++ b/cpp/src/arrow/dataset/scanner.cc
@@ -43,6 +43,7 @@ std::shared_ptr<ScanOptions> ScanOptions::ReplaceSchema(
   auto copy = ScanOptions::Make(std::move(schema));
   copy->filter = filter;
   copy->evaluator = evaluator;
+  copy->batch_size = batch_size;
   return copy;
 }