You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "zhen wang (JIRA)" <ji...@apache.org> on 2017/01/21 11:29:27 UTC

[jira] [Commented] (CALCITE-1535) Give error if ORDER BY clause references ambiguous column name

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

zhen wang commented on CALCITE-1535:
------------------------------------

https://github.com/apache/calcite/pull/359 
[~julianhyde] please review 

> Give error if ORDER BY clause references ambiguous column name
> --------------------------------------------------------------
>
>                 Key: CALCITE-1535
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1535
>             Project: Calcite
>          Issue Type: Improvement
>    Affects Versions: 1.11.0
>            Reporter: Dongming Liu
>            Assignee: Julian Hyde
>
> When I use calcite, I found follow sql can convert to a RelNode correctly.
> {code} 
> SELECT id AS t1, name AS t1 FROM T ORDER BY t1
> {code}
> The column name t1 for {{ORDER BY}} is ambiguous, should check at validation?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)