yahoo/maha

Return all rows from Druid GroupBy query

Opened this issue · 3 comments

Is there a way to execute a Druid GroupBy query where we get back all rows? Looks like there's currently a defaultMaximumMaxRows value.

Last I checked Druid had a limit on the number of rows that can be sent from historical to broker and it didn't support pagination.

You can pass in your own value, see register method:

def register(queryGeneratorRegistry: QueryGeneratorRegistry

in the case of returning large rows, you might want to use OffHeapRowList #675