CTERelationRef Leaf Logical Operator¶
CTERelationRef is a leaf logical operator.
CTERelationRef takes the following to be created:
- CTE Id
- Output Attributes
- Optional Statistics (default:
CTERelationRef is created when:
- CTESubstitution logical resolution rule is executed
- ResolveWithCTE logical resolution rule is executed
CTERelationRef is a MultiInstanceRelation.
nodePatterns is CTE.
nodePatterns is part of the TreeNode abstraction.
CTERelationRef logical operators are planned by WithCTEStrategy execution planning strategy (to ShuffleExchangeExec physical operators).