The ConverterRule is a RelOptRule but with default implementation of onMatch: public void onMatch(RelOptRuleCall call) { RelNode rel = call.rel(0); if (rel.getTraitSet().contains(inTrait)) { final RelNode converted = convert(rel); if (converted != null) { call.transformTo(converted); } } } So, the first thing is does your ConverterRule matches ?
Best, Danny Chan 在 2019年3月12日 +0800 PM4:01,dev@calcite.apache.org,写道: > > ElasticsearchRel.CONVENTION