xuzifu666 commented on code in PR #4431:
URL: https://github.com/apache/calcite/pull/4431#discussion_r2161569632
##########
core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java:
##########
@@ -1200,6 +1200,21 @@ static RelDataType deriveTypeSplit(SqlOperatorBinding
operatorBinding,
SqlFunctionCategory.STRING)
.withOperandTypeInference(InferTypes.RETURN_TYPE);
+ /** The "CONCAT(arg, ...)" function that concatenates arguments.
+ * For example, "CONCAT('a', 'bc', 'd')" returns "abcd",
+ * "CONCAT(x'61', 'a')" returns "0x6161".
+ *
+ * <p>It accepts at least 1 argument and returns null if any of
+ * the arguments is null, if arguments contain bytestring, would return
bytes string. */
Review Comment:
Make sense, done.
--
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]