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

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


The following commit(s) were added to refs/heads/main by this push:
     new 1f58e544e9 [VL] Fix parallel BHJ build after #11882 (#12070)
1f58e544e9 is described below

commit 1f58e544e995e9a2b9b08ed65b9f28be764b6aae
Author: Hongze Zhang <[email protected]>
AuthorDate: Mon May 11 19:27:22 2026 +0100

    [VL] Fix parallel BHJ build after #11882 (#12070)
---
 cpp/velox/jni/VeloxJniWrapper.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cpp/velox/jni/VeloxJniWrapper.cc b/cpp/velox/jni/VeloxJniWrapper.cc
index e30413d6d3..72640b21af 100644
--- a/cpp/velox/jni/VeloxJniWrapper.cc
+++ b/cpp/velox/jni/VeloxJniWrapper.cc
@@ -1057,8 +1057,9 @@ JNIEXPORT jlong JNICALL 
Java_org_apache_gluten_vectorized_HashJoinBuilder_native
     return gluten::getHashTableObjStore()->save(builder);
   }
 
-  // Use thread pool (executor) instead of creating threads directly
-  auto executor = VeloxBackend::get()->executor();
+  // Use thread pool (executor) instead of creating threads directly.
+  // FIXME: This reuses the io executor which is supposed to only serve async 
IO tasks.
+  auto executor = VeloxBackend::get()->ioExecutor();
 
   std::vector<std::shared_ptr<gluten::HashTableBuilder>> 
hashTableBuilders(numThreads);
   std::vector<std::unique_ptr<facebook::velox::exec::BaseHashTable>> 
otherTables(numThreads);


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

Reply via email to