You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Yu Xu (Jira)" <ji...@apache.org> on 2026/09/06 04:36:00 UTC

[jira] [Updated] (CALCITE-7084) JOINs with USING would fail when validator identifier expansion is disabled

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

Yu Xu updated CALCITE-7084:
---------------------------
    Summary: JOINs with USING would fail when validator identifier expansion is disabled  (was: JOINs with USING is failed when validator identifier expansion is disabled)

> JOINs with USING would fail when validator identifier expansion is disabled
> ---------------------------------------------------------------------------
>
>                 Key: CALCITE-7084
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7084
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Viggo Chen
>            Assignee: Yu Xu
>            Priority: Major
>              Labels: pull-request-available
>
> see [test|https://github.com/apache/calcite/commit/ecee766d8e0fb7cab28aaf4ab16cfa7253b2e574]
> {code:java}
> sql("select deptno from emp join dept using (deptno)")
>     .withValidatorIdentifierExpansion(true)
>     .ok();
> sql("select ^deptno^ from emp join dept using (deptno)")
>     .withValidatorIdentifierExpansion(false)
>     .fails("Column 'DEPTNO' is ambiguous"); {code}
>  



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