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

Julian Hyde commented on CALCITE-4915:
--------------------------------------

{quote}these methods accept {{validator}} as parameters, so they look better 
when they are non-static
{quote}
But when they are non-static, {{this}} is always equal to {{{}validator{}}}, is 
that right? I think the methods look better when they are non-static but 
without the {{validator}} parameter. (Except the code that is is in the static 
inner class {{{}ExtendedExpander{}}}, where {{validator}} is a final field.)

> 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: 10m
>  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.1#820001)

Reply via email to