eta.plan.insert_before_plan_node

insert_before_plan_node(plan_node, new_plan_node_start)[source]

Insert a new plan directly before a given plan node in the linked list.

Parameters:
  • plan_node (PlanNode) – The node that the new plan should precede.

  • new_plan_node_start (PlanNode) – The first node in the new plan to insert before plan_node.

Returns:

The first node in the new plan.

Return type:

PlanNode