Skip to content
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

Improve error message "Search field not found." in widget creation SQL UI #1051

Closed
soywiz opened this issue Jun 27, 2023 · 0 comments
Closed
Assignees
Labels
testing In Testing

Comments

@soywiz
Copy link
Contributor

soywiz commented Jun 27, 2023

Which OpenObserve functionalities are relevant/related to the feature request?

dashboards

Description

When there is an error in the SQL when generating a dashboard widget likemy_field <> "999.0.0.999" (where "999.0.0.999" should be '999.0.0.999'), the UI reports Error: search field not found., and that doesn't help to figure out the issue (in this case double quotes are used for identifiers in SQL, while single quotes for string literals).

Check this slack thread for details: https://zincobserve.slack.com/archives/C04QC53TPD2/p1687856924243639

Proposed solution

Include the field that was not able to be found like Error: search field '999.0.0.999' not found..

Alternatives considered

Include the index in the string where the field was not found. But might not be as useful.

@ktx-kirtan ktx-kirtan self-assigned this Jun 27, 2023
@ktx-kirtan ktx-kirtan added the testing In Testing label Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing In Testing
Projects
None yet
Development

No branches or pull requests

2 participants