Hi community, In CALCITE-5889,I have added a rule to rewrite the Minus to UNION ALL + Aggregate + Filter,now the PR is ready.
If someone has time,please help me to review this PR,I would appreciate it very much. 1. The JIRA link:https://issues.apache.org/jira/browse/CALCITE-5889 2. The PR link: https://github.com/apache/calcite/pull/3367 Best, LakeShen