WithCTE Logical Operator¶
WithCTE is a logical operator that represents UnresolvedWith unary logical operators after analysis.
Creating Instance¶
WithCTE takes the following to be created:
WithCTE is created when:
- CTESubstitution logical analysis rule is executed
- InlineCTE logical optimization is executed
- UpdateCTERelationStats logical optimization is executed
Node Patterns¶
nodePatterns: Seq[TreePattern]
nodePatterns is CTE.
nodePatterns is part of the TreeNode abstraction.
Query Planning¶
WithCTE logical operators are planned by WithCTEStrategy execution planning strategy.