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

Add a freemarker variable for adding non reserved keywords to Parser.jj template

    Details

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

      Description

      Currently Calcite parser allows customizing parser grammar for supporting new Sql constructs (ex. SHOW TABLES or CREATE TABLE ... AS QUERY) through freemarker template variables. There is a freemarker template variable to allow new keywords, but all these keywords are added as reserved keywords which are not allowed as identifiers unless escaped with ` (or configured casing character).

      This JIRA is to add a freemarker template variable for adding non reserved keywords list.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julianhyde Julian Hyde
                Reporter:
                vkorukanti Venki Korukanti
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: