Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1256

Quoted reserved identifier should match for column names

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jni Jinfeng Ni
                Reporter:
                jni Jinfeng Ni
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: