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/07/05 20:20:09 UTC
[GitHub] [incubator-druid] vogievetsky commented on issue #2013: Support
descending ordered queries
vogievetsky commented on issue #2013: Support descending ordered queries
URL: https://github.com/apache/incubator-druid/issues/2013#issuecomment-508854397
This has been added in 0.15.0:
try:
```sql
SELECT * FROM "wikiticker"
WHERE "__time" >= CURRENT_TIMESTAMP - INTERVAL '1' HOUR
ORDER BY __time ASC
```
and:
```sql
SELECT * FROM "wikiticker"
WHERE "__time" >= CURRENT_TIMESTAMP - INTERVAL '1' HOUR
ORDER BY __time DESC
```
Smash the `Explain` button to see how it works
![image](https://user-images.githubusercontent.com/177816/60743699-942c8f80-9f27-11e9-992d-6a7e04e63fc9.png)
----------------------------------------------------------------
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