vvysotskyi commented on a change in pull request #1488: DRILL-786: Implement 
CROSS JOIN
URL: https://github.com/apache/drill/pull/1488#discussion_r222646339
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinUtils.java
 ##########
 @@ -65,6 +69,15 @@
   }
   private static final org.slf4j.Logger logger = 
org.slf4j.LoggerFactory.getLogger(JoinUtils.class);
 
+  public static final String FAILED_TO_PLAN_CARTESIAN_JOIN = String.format(
+      "This query cannot be planned possibly due to either a cartesian join or 
an inequality join. " +
+          "If cartesian or inequality join is used intentionally, set option 
'%s' to false and try again.",
+      NLJOIN_FOR_SCALAR.getOptionName());
+
+  public static UnsupportedRelOperatorException 
cartesianJoinPlanningException() {
 
 Review comment:
   Please add Javadoc

----------------------------------------------------------------
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