deniskuzZ commented on code in PR #5703:
URL: https://github.com/apache/hive/pull/5703#discussion_r2084389511
##########
ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java:
##########
@@ -2411,6 +2411,21 @@ private boolean getOnlyStructObjectInspectors(ReduceWork
reduceWork,
}
}
+ private void setAllowAdditionalUDFs(HiveConf hiveConf) {
+ String[] udfs =
+ HiveConf.getTrimmedStringsVar(hiveConf,
HiveConf.ConfVars.HIVE_VECTOR_ADAPTOR_CUSTOM_UDF_WHITELIST);
+ if (udfs != null) {
+ for (String udf : udfs) {
+ try {
+ supportedGenericUDFs.add(Class.forName(udf));
+ LOG.info("Vectorized additional custom UDF: " + udf);
Review Comment:
````LOG.info(Registered custom generic UDF: {}, udf)````
--
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]