davidradl commented on code in PR #25828:
URL: https://github.com/apache/flink/pull/25828#discussion_r1893960744
##########
flink-python/pyflink/table/expressions.py:
##########
@@ -350,14 +350,19 @@ def temporal_overlaps(left_time_point,
def date_format(timestamp, format) -> Expression:
"""
Formats a timestamp as a string using a specified format.
- The format must be compatible with MySQL's date formatting syntax as used
by the
- date_parse function.
- For example `date_format(col("time"), "%Y, %d %M")` results in strings
formatted as
- "2017, 05 May".
+ Supported functions:
+ 1. date_format(TIMESTAMP, STRING) -> STRING
Review Comment:
we should mention the difference between the supported format strings.
--
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]