[ 
https://issues.apache.org/jira/browse/CALCITE-4922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yu Xu resolved CALCITE-4922.
----------------------------
    Fix Version/s: 1.43.0
       Resolution: Fixed

Fixed in 
[https://github.com/apache/calcite/commit/a55a520fb48ca5fee817febbf5c0704cfa61aa0d]

Thank you reported this issue [~alex_pl] 

Thank you for the review [~mbudiu] 

> Unqualified common column in ORDER BY fails for JOINs with USING and for 
> NATURAL JOINs
> --------------------------------------------------------------------------------------
>
>                 Key: CALCITE-4922
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4922
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Aleksey Plekhanov
>            Assignee: Yu Xu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.43.0
>
>
> Query:
> {noformat}
> SELECT name FROM emp JOIN dept USING (deptno) ORDER BY deptno{noformat}
> Fails with:
> {noformat}
> Column 'DEPTNO' is ambiguous{noformat}



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

Reply via email to