-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fixes #933 replace placeholder fmt_as fr ExecutionPlan impls #939
fixes #933 replace placeholder fmt_as fr ExecutionPlan impls #939
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great -- thank you for the contribution @tiphaineruy !
cc @houqp / @andygrove for the ballista changes. I think they are pretty straightforward and non controversial
) -> std::fmt::Result { | ||
match t { | ||
DisplayFormatType::Default => { | ||
write!(f, "WindowAggExec") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think might be worth including self.window_expr (aka window_expr: Vec<Arc<dyn WindowExpr>>
) as well
You can check out https://github.com/apache/arrow-datafusion/blob/master/datafusion/src/physical_plan/hash_aggregate.rs#L260-L272 for an example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DisplayFormatType::Default => { | ||
write!( | ||
f, | ||
"DistributedQueryExec: scheduler_url={}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 for including scheduler_url
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Thanks @tiphaineruy |
Which issue does this PR close?
Closes #933.
Rationale for this change
Clearer query EXPLAIN
What changes are included in this PR?
add fmt_as on struct implementing ExecutionPlan
Are there any user-facing changes?
None