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

[jira] [Assigned] (CALCITE-5891) Create a test fixture that would apply PROJECT_REDUCE_EXPRESSIONS to all tests in SqlOperatorTest

     [ https://issues.apache.org/jira/browse/CALCITE-5891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mihai Budiu reassigned CALCITE-5891:
------------------------------------

    Assignee: Mihai Budiu

> Create a test fixture that would apply PROJECT_REDUCE_EXPRESSIONS to all tests in SqlOperatorTest 
> --------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-5891
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5891
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.35.0
>            Reporter: Mihai Budiu
>            Assignee: Mihai Budiu
>            Priority: Major
>
> 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.)



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