zabetak opened a new pull request, #3205: URL: https://github.com/apache/calcite/pull/3205
1. Remove cast to `SingleRel` inside `RemoveEmptySingleRule#onMatch` to allow the rule to transform arbitrary relations (such as `Correlate`) to empty. 2. Change `RemoveEmptySingleRule` constructor to accept `PruneEmptyRule.Config` instead of `RemoveEmptySingleRuleConfig` to be able to instatiate the rule from any kind of pruning configuration that aims to tranform a relation to empty. 3. Refactor `CorrelateLeftEmptyRuleConfig`, `ZeroMaxRowsRuleConfig` and `SortFetchZeroRuleConfig` to use `RemoveEmptySingleRule` and remove duplicate code. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
