CTERelationRef Leaf Logical Operator¶
CTERelationRef is a leaf logical operator.
Creating Instance¶
CTERelationRef takes the following to be created:
- CTE Id
-
_resolvedflag - Output Attributes
- Optional Statistics (default:
None)
CTERelationRef is created when:
- CTESubstitution logical resolution rule is executed
- ResolveWithCTE logical resolution rule is executed
MultiInstanceRelation¶
CTERelationRef is a MultiInstanceRelation.
Node Patterns¶
nodePatterns is CTE.
Query Planning¶
CTERelationRef logical operators are planned by WithCTEStrategy execution planning strategy (to ShuffleExchangeExec physical operators).