ankitsultana opened a new issue, #12190: URL: https://github.com/apache/pinot/issues/12190
At present, in case of query failures, Pinot broker returns a 200 HTTP Status Code and the message of the body contains a JSON with the exception and the error-code. I was wondering if we can also return the error-code in a response header. Say: `X-Pinot-Error-Code`. That way callers don't need to un-marshal the JSON blob to check if a given request failed or not. This would also be helpful for Pinot query proxies where we want to avoid parsing Pinot's response as much as possible. -- 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: commits-unsubscr...@pinot.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org