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

Add original SQL string as a field in the parser

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: