flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] xueyumusic commented on issue #6282: [FLINK-6847][FLINK-6813] [table] TimestampDiff table api and sql support
Date Sun, 05 Aug 2018 12:48:20 GMT
xueyumusic commented on issue #6282: [FLINK-6847][FLINK-6813] [table] TimestampDiff table api
and sql support
URL: https://github.com/apache/flink/pull/6282#issuecomment-410518086
 
 
   @twalthr @hequn8128 I updated with the following
   1. using `-` arithmetic to compute diff of two timestamps or dates, the result is milliseconds.
The behavior is like `unix_timestamp('2018-07-05 10:00:00') - unix_timestamp('2018-07-03 09:00:00')`
   
   2. For timestampDiff function, it looks that I have no good way to express the result interval
unit using `-` right now, so just leave it orignal currently and only fixed some above feedbacks
of @hequn8128 
   
   Thanks

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message