[ https://issues.apache.org/jira/browse/HIVE-8188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14141095#comment-14141095 ]
Gopal V commented on HIVE-8188: ------------------------------- [~prasanth_j]: that is pretty neat, speedup. But that's not the place I found the fix in, it was in isDeterministic() within the Constant codepath in ExprNode evaluator. > ExprNodeGenericFuncEvaluator::_evaluate() loads class annotations in a tight > loop > --------------------------------------------------------------------------------- > > Key: HIVE-8188 > URL: https://issues.apache.org/jira/browse/HIVE-8188 > Project: Hive > Issue Type: Bug > Components: UDF > Affects Versions: 0.14.0 > Reporter: Gopal V > Attachments: udf-deterministic.png > > > When running a near-constant UDF, most of the CPU is burnt within the VM > trying to read the class annotations for every row. > !udf-deterministic.png! -- This message was sent by Atlassian JIRA (v6.3.4#6332)