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 to map_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
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_plannerdoes 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_idplan_idto ExecutionPlanProperties.Describe alternatives you've considered
We looked into using
task_idfield, but it always seems to be set to None.Additional context
No response