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

Julian Hyde commented on CALCITE-2977:
--------------------------------------

Don't pass in {{nameMatcher.isCaseSensitive()}}; pass in {{nameMatcher}}.

> 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: 10m
>  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