You can supply a RuleSet when use Program to promote your logical/physical plan, the RuleSet is totally can be custom.
[1] https://github.com/apache/calcite/blob/9ece70f5dcdb00dbc6712496c51f52c05178d4aa/core/src/main/java/org/apache/calcite/tools/Program.java#L38 Best, Danny Chan 在 2019年5月6日 +0800 PM11:55,dev@calcite.apache.org,写道: > > TranslatableTable