zhli1142015 commented on code in PR #4344:
URL: https://github.com/apache/incubator-gluten/pull/4344#discussion_r1517275860
##########
cpp/velox/jni/VeloxJniWrapper.cc:
##########
@@ -111,6 +111,8 @@
Java_io_glutenproject_vectorized_PlanEvaluatorJniWrapper_nativeValidateWithFailu
// A query context used for function validation.
velox::core::QueryCtx queryCtx;
+ std::unordered_map<std::string, std::string>
configs{{velox::core::QueryConfig::kSparkPartitionId, "0"}};
+ queryCtx.testingOverrideConfigUnsafe(std::move(configs));
Review Comment:
Updated, thanks.
##########
cpp/velox/jni/VeloxJniWrapper.cc:
##########
@@ -111,6 +111,8 @@
Java_io_glutenproject_vectorized_PlanEvaluatorJniWrapper_nativeValidateWithFailu
// A query context used for function validation.
velox::core::QueryCtx queryCtx;
+ std::unordered_map<std::string, std::string>
configs{{velox::core::QueryConfig::kSparkPartitionId, "0"}};
Review Comment:
Added, thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]