Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/query/sql/src/planner/binder/bind_query/bind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ impl CTERefCounter {
}

impl Binder {
#[recursive::recursive]
pub(crate) fn bind_query(
&mut self,
bind_context: &mut BindContext,
Expand Down Expand Up @@ -119,6 +120,7 @@ impl Binder {
Ok(())
}

#[recursive::recursive]
pub fn compute_cte_ref_count(
&self,
with: &With,
Expand Down Expand Up @@ -209,6 +211,7 @@ impl Binder {
))
}

#[recursive::recursive]
pub fn m_cte_to_temp_table(
&mut self,
cte: &CTE,
Expand Down Expand Up @@ -345,6 +348,7 @@ impl TableNameReplacer {
}
}

#[recursive::recursive]
fn enter_table_reference(&mut self, table_reference: &mut TableReference) {
if let TableReference::Table {
database, table, ..
Expand All @@ -356,6 +360,7 @@ impl TableNameReplacer {
}
}

#[recursive::recursive]
fn enter_expr(&mut self, expr: &mut Expr) {
if let Expr::ColumnRef { column, .. } = expr {
if column.database.is_none() || column.database.as_ref().unwrap().name == self.database
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ impl Binder {
Ok((s_expr, new_bind_context))
}

#[recursive::recursive]
pub fn bind_cte_definition(
&mut self,
cte_name: &str,
Expand Down
Loading