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/06 08:50:50 UTC

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

twalthr 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-410635847
 
 
   Sorry @xueyumusic you are right. I thought `TIMESTAMPDIFF` is similar to `TIMESTAMPADD`. But actually the parameters and logic are quite different. So yes, we should have a syntax `timestampDiff(TimeIntervalUnit.DAY, '2018-07-03'.toDate, '2018-07-04'.toDate)` instead.

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