JiajunBernoulli commented on code in PR #3260:
URL: https://github.com/apache/calcite/pull/3260#discussion_r1232926360
##########
core/src/main/java/org/apache/calcite/sql/type/ReturnTypes.java:
##########
@@ -177,6 +177,14 @@ public static SqlCall stripSeparator(SqlCall call) {
public static final SqlReturnTypeInference ARG0_NULLABLE =
ARG0.andThen(SqlTypeTransforms.TO_NULLABLE);
+ /**
+ * Type-inference strategy whereby the result type of a call is the type of
+ * the operand #0 (0-based). If the operand #0 (0-based) is nullable, the
+ * returned type will also be nullable.
+ */
+ public static final SqlReturnTypeInference ARG0_NULLABLE_IF_ARG0_NULLABLE =
Review Comment:
Does it be used?
--
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]