liyafan82 commented on a change in pull request #2292:
URL: https://github.com/apache/calcite/pull/2292#discussion_r538099519



##########
File path: core/src/main/java/org/apache/calcite/plan/RelOptUtil.java
##########
@@ -850,6 +853,9 @@ public static RelNode createCastRel(
    * instead, create a projection with the input of {@code rel} and the new
    * cast expressions.
    *
+   * <p>The field count of the desired row type and the row type to be 
converted
+   * should be equal. Otherwise, it would throw an exception.

Review comment:
       count -> counts




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

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


Reply via email to