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

Ashutosh Chauhan commented on HIVE-11679:
-----------------------------------------

Can you create a RB entry for this ?


> SemanticAnalysis of "a=1" can result in a new Configuration() object
> --------------------------------------------------------------------
>
>                 Key: HIVE-11679
>                 URL: https://issues.apache.org/jira/browse/HIVE-11679
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>    Affects Versions: 1.3.0, 2.0.0
>            Reporter: Gopal V
>            Assignee: Navis
>         Attachments: HIVE-11679.1.patch.txt
>
>
> {code}
> public static ExprNodeGenericFuncDesc newInstance(GenericUDF genericUDF,
>       String funcText,
>       List<ExprNodeDesc> children) throws UDFArgumentException {
> ...
>  if (genericUDF instanceof GenericUDFBaseCompare && children.size() == 2) {
>       TypeInfo oiTypeInfo0 = children.get(0).getTypeInfo();
>       TypeInfo oiTypeInfo1 = children.get(1).getTypeInfo();
>       SessionState ss = SessionState.get();
>       Configuration conf = (ss != null) ? ss.getConf() : new Configuration();
> {code}
> This is both a SessionState.get() which is a threadlocal lookup or worse, a  
> new Configuration()  which means XML parsing of multiple files for each 
> equality expression in the query.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to