public void onMatch(RelOptRuleCall call) { final TableAccessRel oldRel = call.rel(0); RelNode newRel = oldRel.getTable().toRel(RelOptUtil.getContext(oldRel.getCluster())); call.transformTo(newRel); }