hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-8512) queries with star and aggregate should fail
Date Wed, 12 Nov 2014 23:28:34 GMT

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

Sergey Shelukhin commented on HIVE-8512:
----------------------------------------

The problem is that validation for this is done in highly unobvious manner when generation
exprs from AST nodes; however, for select-star, we never generate exprs from AST node the
normal way, so some bogus exprnodedesc gets added without checking

> queries with star and aggregate should fail
> -------------------------------------------
>
>                 Key: HIVE-8512
>                 URL: https://issues.apache.org/jira/browse/HIVE-8512
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>
> ctas_colname test uses these, for example
> This errors out: {noformat} select key, sum(key) from src;{noformat}
> But this passes:  {noformat} select *, sum(key), count(value) from src;{noformat}
> It looks like it returns 2 sums and 2 counts



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

Mime
View raw message