super(RelOptHelper.some(WindowRel.class, Convention.NONE, RelOptHelper.any(RelNode.class)), "DrillWindowRule");
}
@Override
public void onMatch(RelOptRuleCall call) {
final WindowRel window = call.rel(0);
final RelNode input = call.rel(1);
final RelTraitSet traits = window.getTraitSet().plus(DrillRel.DRILL_LOGICAL);
final RelNode convertedInput = convert(input, traits);
call.transformTo(
new DrillWindowRel(
window.getCluster(),
traits,
convertedInput,
Lists.<RexLiteral>newArrayList(),
window.getRowType(),
window.windows));
}