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

Show unsupported rollup query inside visualization #23863

Merged

Conversation

jen-huang
Copy link
Contributor

Let search errors bubble up instead of killing all search requests due to Promise.all rejecting on first failure. This will show unsupported query search errors within visualization itself (aka ones not supported by rollup search). This is a better UX experience for dashboards with rollup items and non-rollup items.

Dashboard with rollup and normal visualizations, no queries or filters:
image

Same dashboard with a filter that is not supported by rollup search:
image

Sample flight data dashboard (all non-rollup items) with an invalid query (AND OR), this shows that error handling remains unchanged in other cases:
image

…e to `Promise.all` rejecting on first failure

* Show unsupported query search errors within visualization itself (aka ones not supported by rollup search)
@jen-huang
Copy link
Contributor Author

I'm merging this to be reviewed with the main rollups PR as CJ is on vacation. This PR is for historical reference.

@jen-huang jen-huang merged commit 3a77616 into elastic:feature/rollups Oct 5, 2018
@elasticmachine
Copy link
Contributor

💔 Build Failed

@jen-huang jen-huang deleted the feature/rollups-search branch October 5, 2018 21:04
jen-huang added a commit that referenced this pull request Oct 17, 2018
…e to `Promise.all` rejecting on first failure (#23863)

* Show unsupported query search errors within visualization itself (aka ones not supported by rollup search)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants