Error: entity content is too long [105072697] for the configured buffer limit [104857600]

That’s correct, I used trino sql engine to connect ES and use its raw query to request log in one request. A part query as below. For a big time range query which would reponse a little more bigger than 100mb content in the response body and got error as above.

SELECT result
      FROM TABLE(elastic_mozart.system.raw_query(schema => 'default', index => 'ailogs-oneapi', query => '{
  "size": 10000000,
  "query": {
   "bool": {
   "filter": [
    {.....

I know that I could use scroll streaming api with curl, but my case is using trino elasetic plugin which I couldn’t attach the raw_query function. Also for sure I can use dummy SQL query instead the raw_query but which is really slow performance. And for most of my case 100mb is fine, only a little bit case to query full data which hit the limitation.

I read relative talk in below session, but have no idea how could work around to enlarge a little bit more than 100mb is OK to me.