You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/08/04 13:54:04 UTC

[GitHub] xueyumusic edited a comment on issue #6282: [FLINK-6847][FLINK-6813] [table] TimestampDiff table api and sql support

xueyumusic edited a comment on issue #6282: [FLINK-6847][FLINK-6813] [table] TimestampDiff table api and sql support
URL: https://github.com/apache/flink/pull/6282#issuecomment-410450506
 
 
   @twalthr I am not sure how to express the `unit` parameter when using `-` arithmetic. 
   How about `('2018-07-31'.toDate - '2018-05-30'.toDate) .diffUnit(TimeIntervalUnit.MONTH)`...
   
   using like `diffUnit` etc to expree the unit.. what do you think, 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