amansinha100 commented on a change in pull request #729: Drill 1328: Support 
table statistics for Parquet
URL: https://github.com/apache/drill/pull/729#discussion_r250698815
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/planner/physical/NestedLoopJoinPrule.java
 ##########
 @@ -84,8 +88,14 @@ public void onMatch(RelOptRuleCall call) {
     if (!settings.isNestedLoopJoinEnabled()) {
       return;
     }
-
-    final DrillJoinRel join = (DrillJoinRel) call.rel(0);
+    int[] joinFields = new int[2];
+    DrillJoinRel join = (DrillJoinRel) call.rel(0);
+    // If right outer join on simply equi join convert it to left outer join. 
We only support left outer NLJ as of now
+    if (join.getJoinType() == JoinRelType.RIGHT
 
 Review comment:
   Does DRILL-5214 need to be fixed in order to ship stats functionality ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to