Toggle navigation
Home
org.apache.drill.exec.store.StoragePluginOptimizerRule to org.apache.calcite.plan.RelOptRule
No. of Instances - 4
No. of Commits - 2
No. of Projects - {'drill'}
Hierarchy/Composition: R_SUPER_T
Primitive Info: -
NameSpace: Internal -> External
Mapping:
Update Anonymous class
{ @Override public boolean matches( RelOptRuleCall call){ if (!enabled) { return false; } final ScanPrel scan=call.rel(2); if (scan.getGroupScan() instanceof ParquetGroupScan) { return super.matches(call); } return false; } @Override public void onMatch( RelOptRuleCall call){ final FilterPrel filterRel=call.rel(0); final ProjectPrel projectRel=call.rel(1); final ScanPrel scanRel=call.rel(2); doOnMatch(call,filterRel,projectRel,scanRel); } }
to
{ @Override public boolean matches( RelOptRuleCall call){ final ScanPrel scan=call.rel(2); if (scan.getGroupScan() instanceof ParquetGroupScan) { return super.matches(call); } return false; } @Override public void onMatch( RelOptRuleCall call){ final FilterPrel filterRel=call.rel(0); final ProjectPrel projectRel=call.rel(1); final ScanPrel scanRel=call.rel(2); doOnMatch(call,filterRel,projectRel,scanRel); } }