Remove RemoveSortRule and PushSortPastProjectRule during Drill Logical planning 
phase.


Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/0b1df5df
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/0b1df5df
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/0b1df5df

Branch: refs/heads/master
Commit: 0b1df5dfad13ab82ca95287eec2bf1ed960aee87
Parents: ef8b59a
Author: Jinfeng Ni <[email protected]>
Authored: Thu Apr 3 16:51:01 2014 -0700
Committer: Jacques Nadeau <[email protected]>
Committed: Sat Apr 19 18:07:11 2014 -0700

----------------------------------------------------------------------
 .../org/apache/drill/exec/planner/logical/DrillRuleSets.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/0b1df5df/exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/DrillRuleSets.java
----------------------------------------------------------------------
diff --git 
a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/DrillRuleSets.java
 
b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/DrillRuleSets.java
index d17fce3..2a1d3ff 100644
--- 
a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/DrillRuleSets.java
+++ 
b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/DrillRuleSets.java
@@ -69,7 +69,7 @@ public class DrillRuleSets {
 //      UnionToDistinctRule.INSTANCE,
 //      RemoveTrivialProjectRule.INSTANCE,
 //      RemoveTrivialCalcRule.INSTANCE,
-      RemoveSortRule.INSTANCE,
+//      RemoveSortRule.INSTANCE,
 
 //      TableAccessRule.INSTANCE, //
       //MergeProjectRule.INSTANCE, //
@@ -79,7 +79,7 @@ public class DrillRuleSets {
 //      SwapJoinRule.INSTANCE, //
 //      PushJoinThroughJoinRule.RIGHT, //
 //      PushJoinThroughJoinRule.LEFT, //
-      PushSortPastProjectRule.INSTANCE, //      
+//      PushSortPastProjectRule.INSTANCE, //      
 
       ////////////////////////////////
       DrillScanRule.INSTANCE,

Reply via email to