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
PHOENIX-5728 : ExplainPlan with plan as attributes object #990
Conversation
virajjasani
commented
Nov 30, 2020
- ExplainPlan can provide plan as attributes object for simplified assertion of individual plan attributes
- Provide an additional API to get plan object
- Explain queries can still continue to provide output as String / list of String, object based approach is just an additional parameter for better comparison
- Utilizes object based comparison in BaseStatsCollectorIT as per Jira, the plan is to extend object based comparison to maximum tests with further sub-tasks of PHOENIX-5265
- Support HashJoinPlan as part of separate Jira
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
+1 Does the plan involve removing the existing line-by-line generation and building the String format plan form the new object at some point ? |
Thanks for the review @stoty
Indeed I think we can give this a shot in long term for sure. That's also partly the reason why I have kept separate new API which takes object builder as input rather than updating current API which just takes list of String to accumulate entire plan step by step. |
That's correct, and that's the reason this should not cause any regression. |