From c7dc4fc06af7fab867076ba9e12c97f9a0ad138e Mon Sep 17 00:00:00 2001 From: mwish Date: Sat, 22 Jul 2023 15:13:44 +0800 Subject: [PATCH] GH-36820: [C++] trying to fix style in ScanNode::AddScanTasks --- cpp/src/arrow/dataset/scan_node.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/cpp/src/arrow/dataset/scan_node.cc b/cpp/src/arrow/dataset/scan_node.cc index 46cc1dc6c8c3..84ae9c830775 100644 --- a/cpp/src/arrow/dataset/scan_node.cc +++ b/cpp/src/arrow/dataset/scan_node.cc @@ -387,9 +387,6 @@ class ScanNode : public acero::ExecNode, public acero::TracedNode { scan_tasks->AddTask(std::make_unique(node, state_view, i)); } return Status::OK(); - // The "list fragments" task doesn't actually end until the fragments are - // all scanned. This allows us to enforce fragment readahead. - return list_and_scan_done; } // Take the dataset options, and the fragment evolution, and figure out exactly how