[ 
https://issues.apache.org/jira/browse/CALCITE-6335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17944820#comment-17944820
 ] 

Julian Hyde commented on CALCITE-6335:
--------------------------------------

[~jensen] wrote

{quote}Also, the ability to compare result sets before and after the plan is 
applied.{quote}

I'm not sure that one will be achievable in Quidem. Testing the effect of a 
single rule on a RelNode tree should remain the speciality of RelOptRulesTest.

I think the most we can achieve with Quidem test is to run SQL queries with 
particular rule sets and make sure that they give the right results.

Checking the plan of a query is a stretch, because if we run the same script 
with two rule sets the plan might be different.

> Quidem tests should allow specifying optimization passes to apply to programs
> -----------------------------------------------------------------------------
>
>                 Key: CALCITE-6335
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6335
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.36.0
>            Reporter: Mihai Budiu
>            Assignee: Zhen Chen
>            Priority: Minor
>              Labels: pull-request-available
>
> This facility would make it much easier to test various optimization passes.



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

Reply via email to