Skip to content

Commit

Permalink
Improve error message on unsupported correlation (#14458)
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi authored Feb 3, 2025
1 parent 932439f commit ea788c7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion datafusion/expr/src/logical_plan/invariants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,10 @@ fn check_inner_plan(inner_plan: &LogicalPlan, can_contain_outer_ref: bool) -> Re
}
},
LogicalPlan::Extension(_) => Ok(()),
_ => plan_err!("Unsupported operator in the subquery plan."),
_ => plan_err!(
"Unsupported operator in the subquery plan: {}",
inner_plan.display()
),
}
}

Expand Down

0 comments on commit ea788c7

Please sign in to comment.