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

Haisheng Yuan commented on CALCITE-2977:
----------------------------------------

Pushed to master 
https://github.com/apache/calcite/commit/38e3c3015b661f8f9dc61d8d0ef4be6186a4bc7a.
Thanks for the PR, [~pzw2018]!

> Exception is not thrown  out when there are ambiguous field in select list
> --------------------------------------------------------------------------
>
>                 Key: CALCITE-2977
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2977
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.20.0
>            Reporter: pengzhiwei
>            Assignee: pengzhiwei
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.20.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> In the following sql:
> {code:java}
> select t0 from (select 1 as t0, 2 as t0 from dept){code}
> _SqlValidatorImpl_ does not  throw an exception for the ambiguous field "t0".
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to