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

Viggo Chen edited comment on CALCITE-4915 at 6/16/25 12:25 PM:
---------------------------------------------------------------

Now the sql only fails when ValidatorIdentifierExpansion is false, see 
[test|https://github.com/apache/calcite/commit/ecee766d8e0fb7cab28aaf4ab16cfa7253b2e574].
 [~julianhyde] Do you think this is a bug or a feature?


was (Author: JIRAUSER300637):
Now the sql only fails when ValidatorIdentifierExpansion is false see 
[test|https://github.com/apache/calcite/commit/ecee766d8e0fb7cab28aaf4ab16cfa7253b2e574].
 [~julianhyde] Do you think this is a bug or a feature?

> Query with unqualified common column and NATURAL JOIN fails
> -----------------------------------------------------------
>
>                 Key: CALCITE-4915
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4915
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Aleksey Plekhanov
>            Assignee: Aleksey Plekhanov
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Query with unqualified common column and NATURAL JOIN:
> {noformat}
> SELECT deptno FROM emp NATURAL JOIN dept{noformat}
> Fails with "Column 'DEPTNO' is ambiguous" error.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to