[
https://issues.apache.org/jira/browse/CALCITE-6335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17943439#comment-17943439
]
Mihai Budiu commented on CALCITE-6335:
--------------------------------------
What we want is to run the program with certain optimizations. Quidem includes
the output in the file - that is the main value. Could be useful to have a tool
to compare two outputs, but at least visual inspection is much easier than with
JDBC tests (which is the way this can be done today).
If the planner hook is usable and offers the features needed, it may be the
right tool.
The rules will probably be specified by name, so probably Java reflection will
be needed to map names to rules.
Calcite is much more flexible than other systems, so it makes sense to allow
the capability to adjust the planner for testing. This does not mean that the
capability will be also exposed in production for Calcite-based tools.
> 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
> Priority: Minor
>
> This facility would make it much easier to test various optimization passes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)