snuyanzin commented on code in PR #27793:
URL: https://github.com/apache/flink/pull/27793#discussion_r2971901217
##########
docs/data/sql_functions.yml:
##########
@@ -726,17 +726,17 @@ temporal:
Converts a datetime string to a TIMESTAMP without time zone.
- string1: the datetime string to parse
- - string2: the format pattern (default 'yyyy-MM-dd HH:mm:ss'). The
pattern follows Java's DateTimeFormatter syntax, where 'S' represents
fractional seconds (e.g., 'SSS' for milliseconds, 'SSSSSS' for microseconds,
'SSSSSSSSS' for nanoseconds).
+ - string2: the format pattern (default 'yyyy-MM-dd HH:mm:ss'). The
pattern follows Java's
[DateTimeFormatter](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/format/DateTimeFormatter.html)
syntax, where 'S' represents fractional seconds (e.g., 'SSSSS' for 5-digit
fractional seconds, 'SSSSSSS' for 7-digit, 'SSSSSSSSS' for nanoseconds).
Review Comment:
Better to link to openjdk rather than oracle imho
https://github.com/openjdk/jdk/blob/jdk-11%2B28/src/java.base/share/classes/java/time/format/DateTimeFormatter.java
--
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]