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

Add original SQL string as a field in the parser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • None

    Description

      Add the SQL string to the parser. This will be useful for CREATE VIEW, for instance, which needs to access the original SQL (including comments and formatting) rather than just the AST.

      It could be a field "protected final String originalSql;" in SqlParserImpl.

      Attachments

        Activity

          People

            julianhyde Julian Hyde
            julianhyde Julian Hyde
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: