-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvement: Show "table not found" info in wrong query #6328
Labels
Comments
Makes sense, do you want to take it up? |
Sure, I can help with that. It would be a start to contribute |
xiangfu0
added
beginner-task
Small task for new contributors to ramp up
enhancement
labels
Dec 8, 2020
Thanks @dongxiaoman ! |
I would like to work on this |
malbx
added a commit
to malbx/incubator-pinot
that referenced
this issue
May 4, 2021
Jackie-Jiang
pushed a commit
that referenced
this issue
May 20, 2021
… not exist (#6328) (#6765) ## Description Fix the exception thrown in the case that a specified table name does not exist (#6328). As opposed to returning `BROKER_RESOURCE_MISSING_ERROR`, which can be a bit misleading, the code has been modified to return `TABLE_DOES_NOT_EXIST_ERROR`. ## Release Notes The error code BROKER_RESOURCE_MISSING_ERROR (410) is no longer returned in the case that a table does not exist (e.g., misspelled table name). In such cases the error code TABLE_DOES_NOT_EXIST_ERROR (190) will now be returned.
HI, |
@vijaya-lakshmi-venkatraman Thanks for the reminder, the issue is resolved |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When we compose/run an adhoc query, we sometimes misspell table names.
The results from query is "Broker resource missing" instead of "table not found", which is quite misleading. It is misleading because sometimes we do run into broker down situation and has the same error.
It will be a small change but with much quality of life improvement. Think about the new users that are trying Pinot and getting such errors could turn them away.
The text was updated successfully, but these errors were encountered: