[
https://issues.apache.org/jira/browse/HIVE-28881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Krisztian Kasa resolved HIVE-28881.
-----------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
Merged to master. Thanks [~sbadhya] and [~soumyakanti.das] for review.
> 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
> Fix For: 4.1.0
>
>
> 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)