yiyutian1 commented on code in PR #25763: URL: https://github.com/apache/flink/pull/25763#discussion_r1889878496
########## flink-python/pyflink/table/expressions.py: ########## @@ -306,19 +306,38 @@ def to_timestamp(timestamp_str: Union[str, Expression[str]], return _binary_op("toTimestamp", timestamp_str, format) -def to_timestamp_ltz(numeric_epoch_time, precision) -> Expression: +def to_timestamp_ltz(*args) -> Expression: """ - Converts a numeric type epoch time to TIMESTAMP_LTZ. + Converts a value to a timestamp with local time zone. - The supported precision is 0 or 3: - 0 means the numericEpochTime is in second. - 3 means the numericEpochTime is in millisecond. + Supported signatures: + 1. to_timestamp_ltz(numeric) -> timestamp_ltz + 2. to_timestamp_ltz(numeric, precision) -> timestamp_ltz + 3. to_timestamp_ltz(string) -> timestamp_ltz + 4. to_timestamp_ltz(string, format) -> timestamp_ltz + 5. to_timestamp_ltz(string, format, timezone) -> timestamp_ltz Review Comment: Modified. -- 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