mihaibudiu commented on code in PR #4725:
URL: https://github.com/apache/calcite/pull/4725#discussion_r2684824320


##########
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorUtil.java:
##########
@@ -616,6 +617,42 @@ public static RelDataType createJoinType(
     return typeFactory.createStructType(typeList, nameList);
   }
 
+  /**
+   * Returns the type of mark join. Taking LEFT_MARK join as an example, its 
output is all rows
+   * from the left side and creates a new attribute to mark a tuple as having 
join partners from
+   * right side or not.
+   *
+   * <p> Conceptually the type of marker is a three-valued boolean, but it can 
be simplified to a

Review Comment:
   yes, and that is how the implementation works, so I think that's why this 
comment belongs inside



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to