wuchong commented on a change in pull request #9394: [FLINK-13547][table-planner-blink] Verify and correct string function's semantic for Blink planner URL: https://github.com/apache/flink/pull/9394#discussion_r312318835
########## File path: flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/dataformat/BinaryStringUtil.java ########## @@ -749,21 +749,21 @@ public static BinaryString concat(Iterable<BinaryString> inputs) { } /** - * Concatenates input strings together into a single string using the separator. - * A null input is skipped. For example, concat(",", "a", null, "c") would yield "a,c". + * <p>Concatenates input strings together into a single string using the separator. + * Returns NULL If the separator is NULL.</p> + * + * <p>Note: CONCAT_WS() does not skip any empty strings, however it does skip any NULL values after + * the separator. For example, concat(",", "a", null, "c") would yield "a,c".</p> Review comment: ```suggestion * the separator. For example, concat_ws(",", "a", null, "c") would yield "a,c".</p> ``` ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services