Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.35.0
-
None
-
None
Description
SqlOperatorTest has many tests, including end-to-end tests.
However, none of these tests exercise the PROJECT_REDUCE_EXPRESSION rules, which often produce different results than these tests for constant expressions.
Ideally we should be able to subclass SqlOperatorTest and use a fixture that also applies this optimization prior to evaluation.
I have marked this as a major priority, because I suspect it would catch many bugs with minimal effort. (I have found at least 10 so far.)
Attachments
Issue Links
- relates to
-
CALCITE-6000 There should be a SqlParserFixture which parses again after unparsing
- Closed