You can try using Select query instead of scan. Select provides pagination and takes more resources compared to scan queries. Scan queries provide result in stream mode. Here is link for further reading https://druid.apache.org/docs/latest/querying/scan-query.html
On Wed, Dec 11, 2019 at 2:06 AM madhavi g <madhavi....@gmail.com> wrote: > Hi, > > We are using axios to make http call to druid via node js application. > Since the data might be huge we are seeing memory issues at the client side > while loading data to a variable. Instead, is there a way to receive data > as stream and process it. > Please share details and example if possible. > > Thanks, > Madhavi. >