[ 
https://issues.apache.org/jira/browse/HIVE-8188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14147481#comment-14147481
 ] 

Gunther Hagleitner commented on HIVE-8188:
------------------------------------------

on commit, you might want to add some comments saying that annotation lookups 
are expensive and that isDeterministic and isEstimable cannot change while 
running through the op pipeline.

> 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
>            Assignee: Gopal V
>              Labels: Performance
>         Attachments: HIVE-8188.1.patch, HIVE-8188.2.patch, 
> 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)

Reply via email to