You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2025/04/07 08:19:00 UTC
[jira] [Assigned] (HIVE-28881) Ambiguous column reference is not detected in GROUP BY query.
[ https://issues.apache.org/jira/browse/HIVE-28881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krisztian Kasa reassigned HIVE-28881:
-------------------------------------
Assignee: Krisztian Kasa
> Ambiguous column reference is not detected in GROUP BY query.
> -------------------------------------------------------------
>
> Key: HIVE-28881
> URL: https://issues.apache.org/jira/browse/HIVE-28881
> Project: Hive
> Issue Type: Bug
> Components: CBO
> Reporter: Krisztian Kasa
> Assignee: Krisztian Kasa
> Priority: Major
> Labels: pull-request-available
>
> Repro:
> {code:java}
> create table t1 (a int);
> select s.a from
> (select a, a from t1) s
> group by s.a;
> {code}
> This should throw {{SemanticException}} with the message "Ambiguous column reference: a"
--
This message was sent by Atlassian Jira
(v8.20.10#820010)