[
https://issues.apache.org/jira/browse/CALCITE-6335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17944817#comment-17944817
]
Mihai Budiu commented on CALCITE-6335:
--------------------------------------
I am thinking about a way to reuse the existing quidem tests with this new
feature, similar to the way we can reuse testing fixtures.
One approach would be to add an "!include file.iq" command to a quidem test,
which allows you to include the contents of an entire other quidem file. This
would enable you to do something like this:
{code}
!set planner-rules ....
!include join.iq
{code}
And this would rerun all the join tests with the new rules. It this sounds like
a good idea, we should file another issue for it.
> 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)