You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2022/02/04 22:14:57 UTC

[arrow-cookbook] branch main updated: Removed call to UseAsync (#143)

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

westonpace pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-cookbook.git


The following commit(s) were added to refs/heads/main by this push:
     new 5a51425  Removed call to UseAsync (#143)
5a51425 is described below

commit 5a514255955101e438c53e9e77af5b74f88e73aa
Author: Weston Pace <we...@gmail.com>
AuthorDate: Fri Feb 4 12:14:52 2022 -1000

    Removed call to UseAsync (#143)
    
    In Arrow 7.0.0 the `arrow::dataset::ScannerBuilder::UseAsync` call was removed.
---
 cpp/code/datasets.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cpp/code/datasets.cc b/cpp/code/datasets.cc
index cc067cc..406de68 100644
--- a/cpp/code/datasets.cc
+++ b/cpp/code/datasets.cc
@@ -145,7 +145,6 @@ TEST_F(DatasetReadingTest, DatasetRead) {
 
   // Create a scanner
   arrow::dataset::ScannerBuilder scanner_builder(dataset);
-  ASSERT_OK(scanner_builder.UseAsync(true));
   ASSERT_OK(scanner_builder.UseThreads(true));
   ASSERT_OK_AND_ASSIGN(std::shared_ptr<arrow::dataset::Scanner> scanner,
                        scanner_builder.Finish());