Skip to content

Commit 6ae409d

Browse files
committed
Update comment.
1 parent 32317ef commit 6ae409d

File tree

1 file changed

+1
-1
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ class Analyzer(
216216
def apply(plan: LogicalPlan): LogicalPlan = plan.resolveOperatorsUp {
217217
case With(child, relations) =>
218218
// substitute CTE expressions right-to-left to resolve references to previous CTEs:
219-
// with a as (select * from t) with b as (select * from a) select * from b
219+
// with a as (select * from t), b as (select * from a) select * from b
220220
relations.foldRight(child) {
221221
case ((cteName, ctePlan), currentPlan) =>
222222
substituteCTE(currentPlan, cteName, ctePlan)

0 commit comments

Comments
 (0)