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

Create a SqlOperatorFixture that parses, unparses, and then parses again before executing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.35.0
    • 1.36.0
    • core

    Description

      Such a fixture will help catch bugs in the unparsing code.
      Several bugs were found using this technique, e.g., CALCITE-5997.
      This is related to CALCITE-5891, CALCITE-6000.
      The SqlParserFixture UnparsingTesterImpl provides a similar service, but since it does not validate the code after unparsing, it will catch fewer bugs.

      Attachments

        Issue Links

          Activity

            People

              mbudiu Mihai Budiu
              mbudiu Mihai Budiu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: