pan3793 commented on code in PR #58661:
URL: https://github.com/apache/spark/pull/58661#discussion_r3980643522
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/cteOperators.scala:
##########
@@ -288,29 +292,44 @@ trait CTEInChildren extends LogicalPlan {
}
}
+/**
+ * A named common table expression (CTE) as defined in a WITH clause, before
analysis.
+ *
+ * @param name The name of the CTE.
+ * @param plan The CTE definition query plan, aliased by `name`.
+ * @param maxDepth The optional `MAX RECURSION LEVEL` of a recursive CTE.
+ * @param materialized The materialization option: `Some(true)` for
`MATERIALIZED`,
+ * `Some(false)` for `NOT MATERIALIZED`, `None` if
unspecified.
+ */
+case class CTERelation(
Review Comment:
Renamed to `UnresolvedCTERelation` in 1c6d2a9d8a6.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]