druid/examples/quickstart/tutorial/wikipedia-top-pages-sql.json

4 lines
198 B
JSON
Raw Normal View History

{
"query":"SELECT page, COUNT(*) AS Edits FROM wikipedia WHERE \"__time\" BETWEEN TIMESTAMP '2015-09-12 00:00:00' AND TIMESTAMP '2015-09-13 00:00:00' GROUP BY page ORDER BY Edits DESC LIMIT 10"
}