This is an automated email from the ASF dual-hosted git repository.

findepi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new ea788c72dd Improve error message on unsupported correlation (#14458)
ea788c72dd is described below

commit ea788c72dddf24acd8dc8068cede939e11dfab84
Author: Piotr Findeisen <[email protected]>
AuthorDate: Mon Feb 3 22:45:48 2025 +0100

    Improve error message on unsupported correlation (#14458)
---
 datafusion/expr/src/logical_plan/invariants.rs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/datafusion/expr/src/logical_plan/invariants.rs 
b/datafusion/expr/src/logical_plan/invariants.rs
index bde4acaae5..46c1d7c135 100644
--- a/datafusion/expr/src/logical_plan/invariants.rs
+++ b/datafusion/expr/src/logical_plan/invariants.rs
@@ -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()
+        ),
     }
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to