Skip to content

Commit f4c32f5

Browse files
committed
Add debug info of inner plan
1 parent 88f58bf commit f4c32f5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

datafusion/optimizer/src/analyzer/subquery.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,10 @@ fn check_inner_plan(inner_plan: &LogicalPlan, can_contain_outer_ref: bool) -> Re
201201
}
202202
},
203203
LogicalPlan::Extension(_) => Ok(()),
204-
_ => plan_err!("Unsupported operator in the subquery plan."),
204+
_ => plan_err!(
205+
"Unsupported operator in the subquery plan: {:?}",
206+
inner_plan
207+
),
205208
}
206209
}
207210

0 commit comments

Comments
 (0)