raminqaf commented on code in PR #27757:
URL: https://github.com/apache/flink/pull/27757#discussion_r2944961891


##########
docs/data/sql_functions.yml:
##########
@@ -687,7 +687,7 @@ temporal:
     description: Converts a date string string1 with format string2 (by 
default 'yyyy-MM-dd') to a date.
   - sql: TO_TIMESTAMP_LTZ(numeric[, precision])
     table: toTimestampLtz(NUMERIC, PRECISION)
-    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. If any input is null, the function will return null.
+    description: Converts a numeric epoch value to a TIMESTAMP_LTZ. The 
precision parameter (0-9) specifies the unit of the epoch value, where 0 
represents seconds, 3 represents milliseconds, 6 represents microseconds, and 9 
represents nanoseconds. Other values between 0 and 9 are also supported, 
representing 10^(-precision) seconds. If no precision is provided, the default 
precision is 3 (milliseconds). If any input is null, the function will return 
null.
   - 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') in time zone string3 (by default 'UTC') to a 
TIMESTAMP_LTZ. If any input is null, the function will return null.

Review Comment:
   Docs updated



-- 
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]

Reply via email to