Hi All,

Is it possible to generate multiple transformations from a single rule
match by calling RelOptRuleCall.transformTo multiple times with
different RelNode from withing the onMatch call?

My use case is that I have a table with multiple indexes defined and
depending on a filter expression I need to pick the best index available
based on an index scan cost. I have a custom FilterScanMergeRule that
should transform an original Filter/LogicalScan pair into multiple
IndexScan RelNodes but I am not sure whether this is the right way to go.

Thanks,
Mike

Reply via email to