From 9e24213ce557c9f5f2e22db405cb09b91f8db59f Mon Sep 17 00:00:00 2001 From: Yuan Date: Thu, 22 Jan 2026 09:52:12 +0000 Subject: [PATCH] [VL] Fix to PartitionIdGenerator code Signed-off-by: Yuan --- 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 5633084c0446..3b96942b22a9 100644 --- a/cpp/velox/jni/VeloxJniWrapper.cc +++ b/cpp/velox/jni/VeloxJniWrapper.cc @@ -581,10 +581,11 @@ Java_org_apache_gluten_datasource_VeloxDataSourceJniWrapper_splitBlockByPartitio const auto numRows = inputRowVector->size(); connector::hive::PartitionIdGenerator idGen( - asRowType(inputRowVector->type()), partitionColIndicesVec, 65536, pool.get() + asRowType(inputRowVector->type()), partitionColIndicesVec, 65536, pool.get(), #ifdef GLUTEN_ENABLE_ENHANCED_FEATURES - , true +#else + false #endif ); raw_vector partitionIds{};