snuyanzin commented on code in PR #25763: URL: https://github.com/apache/flink/pull/25763#discussion_r1895088694
########## docs/data/sql_functions.yml: ########## @@ -679,9 +679,12 @@ temporal: - sql: TO_DATE(string1[, string2]) table: toDate(STRING1[, STRING2]) description: Converts a date string string1 with format string2 (by default 'yyyy-MM-dd') to a date. - - sql: TO_TIMESTAMP_LTZ(numeric, precision) + - sql: TO_TIMESTAMP_LTZ(numeric[, precision]) table: toTimestampLtz(NUMERIC, PRECISION) - description: "Converts a epoch seconds or epoch milliseconds to a TIMESTAMP_LTZ, the valid precision is 0 or 3, the 0 represents TO_TIMESTAMP_LTZ(epochSeconds, 0), the 3 represents TO_TIMESTAMP_LTZ(epochMilliseconds, 3)." + description: Converts an epoch seconds or epoch milliseconds to a TIMESTAMP_LTZ, the valid precision is 0 or 3, the 0 represents TO_TIMESTAMP_LTZ(epochSeconds, 0), the 3 represents TO_TIMESTAMP_LTZ(epochMilliseconds, 3). If no precision is provided, the default precision is 3. + - sql: TO_TIMESTAMP_LTZ(string1[, string2[, string3]]) + table: toTimestampLtz(STRING1[, STRING2[, STRING3]]) + description: Converts a timestamp string string1 with format string2 (by default 'yyyy-MM-dd HH:mm:ss.SSS') to a TIMESTAMP_LTZ in time zone string3. If no time zone is provided, the default time zone is the session time zone. Review Comment: I think we should explicitly mention that any null input leads to null output like it is done for some other functions (especially array related) -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org