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

Matt McCline commented on HIVE-12738:
-------------------------------------

Thanks for producing a better test case.

In a few minutes I'll post a new patch that stops validating or vectorizing 
after a vectorized GROUP BY that outputs rows.  It does make the major 
assumption we don't have multiple table scans in vectorization and that we are 
validating / vectorizing a single GROUP BY operator.

> subquery with NOT IN failing due to ClassCastException
> ------------------------------------------------------
>
>                 Key: HIVE-12738
>                 URL: https://issues.apache.org/jira/browse/HIVE-12738
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>            Reporter: Matt McCline
>            Assignee: Matt McCline
>            Priority: Critical
>         Attachments: HIVE-12738.01.patch, HIVE-12738.2.patch
>
>
> {code}
> create table student(
>             name string,
>             age int,
>             gpa double)
> create table voter(
>             name string,
>             age int,
>             registration string,
>             contributions float)
> select * 
> from student 
> where not student.age in
> (select age from voter) 
> order by age;
> {code}
> Fails in Tez -- Vectorized Reduce.



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

Reply via email to