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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to