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

4 lines
165 B
JSON

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