abhioncbr opened a new issue, #10737: URL: https://github.com/apache/pinot/issues/10737
`PinotQueryResource` is throwing a wrong error in case of the SQL parsing error or for empty SQL. - Below is the SQL parsing error exception <img width="1409" alt="image" src="https://user-images.githubusercontent.com/1076944/236689608-674be03c-aa1d-4222-9b8e-66785b1d4003.png"> - For the empty SQL, it's like this <img width="1410" alt="image" src="https://user-images.githubusercontent.com/1076944/236689661-43eb187a-71ef-4454-8723-146362f82810.png"> In my opinion, it should throw `SQL_PARSING_ERROR_CODE` for both scenarios. cc @walterddr @ankitsultana -- 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]
