Tartarus0zm opened a new issue, #1863:
URL: https://github.com/apache/auron/issues/1863

   The Flink UNIX_TIMESTAMP UDF is a commonly used user-defined function.
   UNIX_TIMESTAMP has multiple usage methods.
   
   - 0 inputs:Gets current Unix timestamp in seconds. This function is not 
deterministic which means the value would be recalculated for each record.
   - 1 inputs:Converts a date time string string1 with default format 
'yyyy-MM-dd HH:mm:ss' to Unix timestamp (in seconds).
   - 2 inputs:Converts a date time string string1 with format string2 to Unix 
timestamp (in seconds).
   
   Notes: In Java, the date format is 'yyyy-MM-dd HH:mm:ss', but in Rust it is 
'%Y-%m-%d %H:%M:%S', to ensure compatibility with Flink scenarios, we need to 
convert the format.


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