Skip to content

Commit

Permalink
update comment; tiny refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
xzhseh committed Apr 25, 2024
1 parent 7a43527 commit 52148e8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/frontend/src/planner/relation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ impl Planner {
Relation::Watermark(tf) => self.plan_watermark(*tf),
// note that rcte (i.e., RecursiveUnion) is included *implicitly* in share.
Relation::Share(share) => self.plan_share(*share),
Relation::BackCteRef(..) => {
bail_not_implemented!(issue = 15135, "recursive CTE is not supported")
}
Relation::BackCteRef(cte_ref) => self.plan_cte_ref(*cte_ref)
}
}

Expand Down Expand Up @@ -233,6 +231,7 @@ impl Planner {
Some(result) => Ok(result.clone()),
}
}
// for the recursive union in rcte
Either::Right(recursive_union) => {
self.plan_recursive_union(*recursive_union.base, *recursive_union.recursive)
}
Expand All @@ -243,9 +242,8 @@ impl Planner {
todo!("plan watermark");
}

#[allow(dead_code)]
pub(super) fn plan_cte_ref(&mut self, _cte_ref: BoundBackCteRef) -> Result<PlanRef> {
todo!("plan cte ref");
bail_not_implemented!(issue = 15135, "recursive CTE not supported")
}

fn collect_col_data_types_for_tumble_window(relation: &Relation) -> Result<Vec<DataType>> {
Expand Down

0 comments on commit 52148e8

Please sign in to comment.