ryukobayashi commented on code in PR #5703: URL: https://github.com/apache/hive/pull/5703#discussion_r2086273997
########## 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) { Review Comment: I fixed. ########## 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: I fixed. -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org