hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vineet Garg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12924) CBO: Calcite Operator To Hive Operator (Calcite Return Path): TestCliDriver groupby_ppr_multi_distinct.q failure
Date Sun, 07 Aug 2016 20:58:20 GMT

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

Vineet Garg commented on HIVE-12924:
------------------------------------

This has same issue as HIVE-14396's 3) case i.e. bug in lookup for column info for non-distinct
parameter. Translate groupby end up creating wrong column name for one of the parameter and
later execution engine bails out on not finding that particular column

> CBO: Calcite Operator To Hive Operator (Calcite Return Path): TestCliDriver groupby_ppr_multi_distinct.q
failure
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-12924
>                 URL: https://issues.apache.org/jira/browse/HIVE-12924
>             Project: Hive
>          Issue Type: Sub-task
>          Components: CBO
>            Reporter: Hari Sankar Sivarama Subramaniyan
>            Assignee: Vineet Garg
>         Attachments: HIVE-12924.1.patch, HIVE-12924.2.patch, HIVE-12924.3.patch
>
>
> {code}
> EXPLAIN EXTENDED
> FROM srcpart src
> INSERT OVERWRITE TABLE dest1
> SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))),
sum(DISTINCT substr(src.value, 5)), count(DISTINCT src.value)
> WHERE src.ds = '2008-04-08'
> GROUP BY substr(src.key,1,1)
> {code}
> Ended Job = job_local968043618_0742 with errors
> FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask



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

Mime
View raw message