gianm opened a new pull request, #17034:
URL: https://github.com/apache/druid/pull/17034

   Following similar issues fixed in #11685 and #15880, this patch fixes a bug 
where QueryResource would write a closing array marker if it encountered an 
exception after starting to push results. This makes it difficult for callers 
to detect errors.
   
   The prior patches didn't catch this problem because QueryResource uses the 
ObjectMapper in a unique way, through writeValuesAsArray, which doesn't respect 
the global AUTO_CLOSE_JSON_CONTENT setting.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to