Hi
Need some help to understand how to read all rows from a query like below:
POST _plugins/_sql
{
“query”: “”" select distinct text_field,field2 from index where text_field like ‘%xyz%’ “”"
}
Index has about 200M documents and result size can be few 1000s to millions.
I need to save the results as a csv file