Ah sorry
@guru, I wasn't very clear so will try to explain better... we are connecting to Pinot from another server. Other servers we load data from would stream it back and clients would handle it without much complexity (e.g. in case of plain sql databases we will use a cursor or for rest services we normally send ndjson back to simplify parsing and avoid loading single json doc with all rows).
As far as I can tell broker api returns single object with nested
results as array. Pinot clients use same api and all results are is resultsTable in
BrokerResponse, which is then used in
ResultSet. There also appears to be a limit of
1M rows on statement in jdbc client if I'm reading code right but would be good to clarify.
So if we want to get let's say 10M large rows out is querying broker api best way? Will pinot even return it? Do we need a streaming parser to parse it out of single object?