My question is actually a two-part question:
- How to do pagination on select queries with Druid SQL. I know that pagination is supported in Druid native query, but I'd like to use SQL if possible
- How to do pagination for aggregation queries(group by, topN)? From the docs, I've got a feeling that it's not supported. If so, how do people implement it? One of the solutions - page inside the application code, but it's very inefficient for large reports.