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

Gopal V commented on HIVE-11468:
--------------------------------

Added this to my latest builds, but it looks like I broke this with HIVE-11462.

The GenericUDFStruct is being turned into a constant expression.

{code}
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: 
java.lang.ClassCastException: 
org.apache.hadoop.hive.ql.plan.ExprNodeConstantDesc cannot be cast to 
org.apache.hadoop.hive.ql.plan.ExprNodeGe
nericFuncDesc
        at 
org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.getStructInExpression(VectorizationContext.java:1480)
 ~[hive-exec-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
        at 
org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.getInExpression(VectorizationContext.java:1513)
 ~[hive-exec-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
        at 
org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.getGenericUdfVectorExpression(VectorizationContext.java:1215)
 ~[hive-exec-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
        at 
org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.getVectorExpression(VectorizationContext.java:490)
 ~[hive-exec-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
        at 
org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.createVectorExpression(VectorizationContext.java:1097)
 ~[hive-exec-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
{code}

> Vectorize: Struct IN() clauses
> ------------------------------
>
>                 Key: HIVE-11468
>                 URL: https://issues.apache.org/jira/browse/HIVE-11468
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>            Reporter: Matt McCline
>            Assignee: Matt McCline
>            Priority: Critical
>         Attachments: HIVE-11468.01.patch, HIVE-11468.02.patch, 
> HIVE-11468.03.patch, HIVE-11468.4.patch
>
>
> Improve performance by vectorizing Struct IN() clauses.  Related to 
> HIVE-11428.



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

Reply via email to