risingwave_frontend::optimizer::plan_node

Function reorganize_elements_id

source
pub fn reorganize_elements_id(plan: PlanRef) -> PlanRef
Expand description

In order to let expression display id started from 1 for explaining, hidden column names and other places. We will reset expression display id to 0 and clone the whole plan to reset the schema.