[ https://issues.apache.org/jira/browse/FLINK-6847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16569442#comment-16569442 ]
ASF GitHub Bot commented on FLINK-6847: --------------------------------------- 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 express 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 > Add TIMESTAMPDIFF supported in TableAPI > --------------------------------------- > > Key: FLINK-6847 > URL: https://issues.apache.org/jira/browse/FLINK-6847 > Project: Flink > Issue Type: Sub-task > Components: Table API & SQL > Affects Versions: 1.4.0 > Reporter: sunjincheng > Priority: Major > Labels: pull-request-available, starter > > see FLINK-6813 -- This message was sent by Atlassian JIRA (v7.6.3#76005)