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

chengchengjin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 9c60f5f141 [GLUTEN-10621][VL] cuDF: Fix cudf table scan disable mode 
(#10925)
9c60f5f141 is described below

commit 9c60f5f141cee27ca94c0b10584798d7bfd2681b
Author: Jin Chengcheng <[email protected]>
AuthorDate: Thu Oct 23 19:01:14 2025 +0100

    [GLUTEN-10621][VL] cuDF: Fix cudf table scan disable mode (#10925)
---
 cpp/velox/compute/WholeStageResultIterator.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cpp/velox/compute/WholeStageResultIterator.cc 
b/cpp/velox/compute/WholeStageResultIterator.cc
index a0b5b97850..dc0da03343 100644
--- a/cpp/velox/compute/WholeStageResultIterator.cc
+++ b/cpp/velox/compute/WholeStageResultIterator.cc
@@ -176,7 +176,8 @@ WholeStageResultIterator::WholeStageResultIterator(
       } else {
         auto connectorId = kHiveConnectorId;
 #ifdef GLUTEN_ENABLE_GPU
-        if (canUseCudfConnector) {
+        if (canUseCudfConnector && enableCudf_ &&
+            veloxCfg_->get<bool>(kCudfEnableTableScan, 
kCudfEnableTableScanDefault)) {
           connectorId = kCudfHiveConnectorId;
           VELOX_CHECK_EQ(starts[idx], 0, "Not support split file");
           VELOX_CHECK_EQ(lengths[idx], scanInfo->properties[idx]->fileSize, 
"Not support split file");
@@ -704,7 +705,7 @@ std::shared_ptr<velox::config::ConfigBase> 
WholeStageResultIterator::createConne
   configs[velox::connector::hive::HiveConfig::kParquetUseColumnNamesSession] =
       std::to_string(veloxCfg_->get<bool>(kParquetUseColumnNames, true));
   configs[velox::connector::hive::HiveConfig::kOrcUseColumnNamesSession] =
-        std::to_string(veloxCfg_->get<bool>(kOrcUseColumnNames, true));
+      std::to_string(veloxCfg_->get<bool>(kOrcUseColumnNames, true));
   return std::make_shared<velox::config::ConfigBase>(std::move(configs));
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to