[ https://issues.apache.org/jira/browse/CALCITE-7084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17993116#comment-17993116 ]
Viggo Chen commented on CALCITE-7084: ------------------------------------- Hi [~julianhyde], I create a new issue to discuss about the "Join Using fails when validator identifier expansion is disabled". Do do you think it's expected? > JOINs with USING 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 > Priority: Major > > > {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)