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

Functions case sensitive when using Lex.MYSQL

    Details

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

      Description

      When I try to write select sum(a) from tbl, Optiq states that sum(TYPE) doesn't exist. However, if I write the same query as select SUM(a) from tbl, Optiq correctly parses the statement. While I expected Lex.MYSQL to not touch/change table and column identifiers, I expected function resolution to still work for functions even if a user uses lower case.

      ---------------- Imported from GitHub ----------------
      Url: https://github.com/julianhyde/optiq/issues/218
      Created by: jacques-n
      Labels:
      Created at: Mon Mar 31 02:57:01 CEST 2014
      State: closed

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              github-import GitHub Import
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: