-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Deterministic IDs for ExecutionPlan #11364
Comments
During planning there are couple of physical optimization rules which modify the I guess, once |
@ozankabak @alamb taking a look at this again as we are working on snapshotting and UI for Denoramlized. It seems to me that the ideal place to add these is in the
with a method on Once the final physical plan is generated in |
I do think this sounds reasonable Some questions and thoughts:
|
Overall sounds reasonable, I will circle back tomorrow after discussing with Synnada folks. Maybe we can upstream some code to help. |
so was thinking if this isn't set, simply letting it be None in the default. this will be mostly to account for UserDefined ExecutionPlans that haven't overridden that method. |
Just cut a PR based on feedback from @alamb |
We have been thinking about this, I will reply in the PR |
Is your feature request related to a problem or challenge?
Currently execution plans do not have an id associated with them this makes comparison of metrics across the runs. Additionally we would like to add a UI to our project to display the metrics as well snapshot our plans.
Looking at the code, it seems to me that the the
physical_planner
does record the node index which is not passed down tomap_logical_node_to_physical
.Describe the solution you'd like
It would quite trivial to pass the node index to ExecutionPlan creation step and add additional field
operator_id
plan_id
to ExecutionPlanProperties.Describe alternatives you've considered
We looked into using
task_id
field, but it always seems to be set to None.Additional context
No response
The text was updated successfully, but these errors were encountered: