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

Quoted reserved identifier should match for column names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    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

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

              Dates

                Created:
                Updated: