vogievetsky commented on issue #6023: Full ISO 8601 compatibility in query intervals URL: https://github.com/apache/incubator-druid/issues/6023#issuecomment-409798621 Just wanted to note here that this is possible in [DSQL](http://druid.io/docs/latest/querying/sql.html): You can issue a query like: ``` SELECT "channel", COUNT(*) AS "Count" FROM "wikipedia" WHERE "__time" >= CURRENT_TIMESTAMP - INTERVAL '1' DAY GROUP BY "channel" ORDER BY "Count" DESC ``` for example to get the last day of data. In general doing computations with CURRENT_TIMESTAMP can be very powerful.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
