JiajunBernoulli commented on code in PR #2878: URL: https://github.com/apache/calcite/pull/2878#discussion_r956554171
########## core/src/main/java/org/apache/calcite/sql/type/ReturnTypes.java: ########## @@ -347,6 +347,13 @@ public static SqlCall stripSeparator(SqlCall call) { public static final SqlReturnTypeInference CHAR = explicit(SqlTypeName.CHAR); + /** + * Type-inference strategy whereby the result type of a call is a nullable + * Char. + */ + public static final SqlReturnTypeInference CHAR_FORCE_NULLABLE = + CHAR.andThen(SqlTypeTransforms.FORCE_NULLABLE); + Review Comment: Changed to it. -- 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