if (origSelection == newSelection) {
return; // no directory filter was pushed down
}
try {
FileGroupScan fgscan = ((FileGroupScan)scanRel.getGroupScan()).clone(newSelection.getSelection());
PartitionPruningUtil.rewritePlan(call, filterRel, projectRel, scanRel, fgscan, builder);
} catch (IOException e) {
throw new DrillRuntimeException(e) ;
}
}