Skip to content

Conversation

Anemy
Copy link
Member

@Anemy Anemy commented Jun 14, 2021

COMPASS-4840

This PR adds a check when parsing explain output that sees if the output resembles an aggregation pipeline. In those cases it then skips further parsing and applies a flag which the ui then uses to display a banner saying we don't support visualizing explains on time series collections yet. It also adds a try catch around parsing explain plans, so that we can more gracefully handle errors, and still show the explain plan output in those cases.

Created this ticket for eventually handling explains of aggregation pipelines/time-series collections: COMPASS-4886

Explain on time series collection then normal collection:

explain-on-time-series.mp4

The message:
Screen Shot 2021-06-14 at 2 24 35 PM
Running the type by Claudia & Max currently

@Anemy Anemy changed the title fix(explain-plan): Handle explain on time-series collection COMPASS-4840 feat(explain-plan): Handle explain on time-series collection COMPASS-4840 Jun 14, 2021
@Anemy Anemy changed the title feat(explain-plan): Handle explain on time-series collection COMPASS-4840 feat(explain-plan): Explain on time-series collection COMPASS-4840 Jun 14, 2021
@Anemy Anemy force-pushed the COMPASS-4840 branch 2 times, most recently from 46c3a66 to 790b84d Compare June 16, 2021 20:40
@Anemy
Copy link
Member Author

Anemy commented Jun 17, 2021

Updated type with more generalized error:
Screen Shot 2021-06-17 at 11 29 45 AM

@Anemy Anemy merged commit 6da914f into master Jun 17, 2021
@Anemy Anemy deleted the COMPASS-4840 branch June 17, 2021 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants