You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Mihai Budiu (Jira)" <ji...@apache.org> on 2023/09/18 18:04:00 UTC

[jira] [Created] (CALCITE-6014) Create a SqlOperatorFixture that parses, unparses, and then parses again before executing

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)