Pagination is currently not supported with group b...
# general
m
Pagination is currently not supported with group by
t
Should I file an issue to request support
m
Sure
t
Cool. Thanks
k
You can but note that work done is the same. It’s preferable to do get 1000 rows at once and cache on the client side
m
Yes, that true for selection as well
t
True. But those 1K rows have to go over the network
k
That’s not a lot compared to billions of rows that need to scanned again
t
Why do you need to scan rows again? you just need to pick from the requested pagination of the ordered results, no?
m
We don't store cross-query state.
t
ok
o
@Kishore G can we use streaming endpoints in selection or group by queries without order by to supports pagination?
m
I was thinking the same as well.
k
No, it will use up resources on the Pinot side while we wait for next call
o
yes, this is the trade off
m
If we save a state of how many segments processed, that’s the only resource held (and perhaps connection). What else will be held on Pinot side (assuming no ordering)?
k
you typically need pagination with ordering