tindzk commented on code in PR #3687:
URL: https://github.com/apache/calcite/pull/3687#discussion_r1507331189


##########
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:
##########
@@ -2829,6 +2869,18 @@ public static ThrowStatement throw_(Expression 
expression) {
     return new ThrowStatement(expression);
   }
 
+  /**
+   * Creates an expression that represents the throwing of an exception.
+   */
+  public static Expression throwExpr(Expression expression) {

Review Comment:
   `throwExpr()` is perhaps overly specific. I generalised the function such 
that it can be used with any statement.



-- 
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: commits-unsubscr...@calcite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to