hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikram Dixit K (JIRA)" <>
Subject [jira] [Updated] (HIVE-5129) Multiple table insert fails on count(distinct)
Date Thu, 22 Aug 2013 02:15:52 GMT


Vikram Dixit K updated HIVE-5129:

    Attachment: HIVE-5129.2.WIP.patch.txt

[~navis] I think this patch addresses what you intended. Could you please take a look. I ran
some tests on it and it looks ok. I will include your query above in the test and upload once
I have your feedback.

> Multiple table insert fails on count(distinct)
> ----------------------------------------------
>                 Key: HIVE-5129
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.11.0
>            Reporter: Vikram Dixit K
>            Assignee: Vikram Dixit K
>         Attachments: aggrTestMultiInsertData1.txt, aggrTestMultiInsertData.txt, aggrTestMultiInsert.q,
HIVE-5129.1.patch.txt, HIVE-5129.2.WIP.patch.txt
> Hive fails with a class cast exception on queries of the form:
> {noformat}
> from studenttab10k
> insert overwrite table multi_insert_2_1
> select name, avg(age) as avgage
> group by name
> insert overwrite table multi_insert_2_2
> select name, age, sum(gpa) as sumgpa
> group by name, age
> insert overwrite table multi_insert_2_3
> select name, count(distinct age) as distage
> group by name;
> {noformat}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message