Mihai Budiu created CALCITE-6014:
------------------------------------

             Summary: Create a SqlOperatorFixture that parses, unparses, and 
then parses again before executing
                 Key: CALCITE-6014
                 URL: https://issues.apache.org/jira/browse/CALCITE-6014
             Project: Calcite
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.35.0
            Reporter: Mihai Budiu


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.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to