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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.8.0
    • core
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: