You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "abhioncbr (via GitHub)" <gi...@apache.org> on 2023/05/07 16:22:33 UTC
[GitHub] [pinot] abhioncbr opened a new issue, #10737: [multistage]: Wrong error thrown for SQL parsing error
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: commits-unsubscribe@pinot.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [pinot] walterddr closed issue #10737: [multistage]: Wrong error thrown for SQL parsing error
Posted by "walterddr (via GitHub)" <gi...@apache.org>.
walterddr closed issue #10737: [multistage]: Wrong error thrown for SQL parsing error
URL: https://github.com/apache/pinot/issues/10737
--
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-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org