You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/05/19 13:47:03 UTC

[GitHub] [incubator-druid] xueyumusic opened a new pull request #7695: Add TIMESTAMPDIFF sql support

xueyumusic opened a new pull request #7695: Add TIMESTAMPDIFF sql support
URL: https://github.com/apache/incubator-druid/pull/7695
 
 
   Current sql support TIMESTAMPADD, it would be nice if sql could support TIMESTAMPDIFF which is a common used time function and supported by Calcite. It returns the (signed) number of unit between timepoint1 and timepoint2. The grammar is `TIMESTAMPDIFF(unit, timestamp1, timestamp2)`. Unit can be SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, QUARTER, or YEAR.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org