You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Jinfeng Ni (JIRA)" <ji...@apache.org> on 2016/05/25 16:02:12 UTC

[jira] [Created] (CALCITE-1256) Quoted reserved identifier should match for column names

Jinfeng Ni created CALCITE-1256:
-----------------------------------

             Summary: Quoted reserved identifier should match for column names
                 Key: CALCITE-1256
                 URL: https://issues.apache.org/jira/browse/CALCITE-1256
             Project: Calcite
          Issue Type: Bug
            Reporter: Jinfeng Ni
            Assignee: Julian Hyde


SQL standard allows couple of reserved identifiers used for system function call, such as USER, CURRENT_USER, CURRENT_TIME etc. If someone wants to use those reserved names as column names, he has
to use quoted identifier.

However, Calcite always interprets those simple quoted identifiers as a system function call, in stead of column name.  Such behavior is different from Postgres/Oracle, which will interpret a quoted identifier as column name, instead of system function call.





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