◆ DPJoinNode() [1/2]
Create an intermediate node in the join tree. base_cardinality = estimated_props.cardinality.
311850}
JoinRelationSet & left_set
left and right plans
Definition duckdb.hpp:21729
JoinRelationSet & set
Represents a node in the join plan.
Definition duckdb.hpp:21724
double cost
Definition duckdb.hpp:21736
optional_ptr< NeighborInfo > info
information on how left and right are connected
Definition duckdb.hpp:21726
◆ DPJoinNode() [2/2]
Create a leaf node in the join tree set cost to 0 for leaf nodes cost will be the cost to produce an intermediate table
◆ cost
| double duckdb::DPJoinNode::cost |
The cost of the join node. The cost is stored here so that the cost of a join node stays in sync with how the join node is constructed. Storing the cost in an unordered_set in the cost model is error prone. If the plan enumerator join node is updated and not the cost model the whole Join Order Optimizer can start exhibiting undesired behavior.
The documentation for this class was generated from the following files: