Skip to content

Commit e9bf8f3

Browse files
committed
Replace plan_err with not_impl_err for unsupported multiple tables in UPDATE SET FROM
1 parent 64be88c commit e9bf8f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

datafusion/sql/src/statement.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,9 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
10671067
});
10681068
// TODO: support multiple tables in UPDATE SET FROM
10691069
if from_clauses.as_ref().is_some_and(|f| f.len() > 1) {
1070-
plan_err!("Multiple tables in UPDATE SET FROM not yet supported")?;
1070+
not_impl_err!(
1071+
"Multiple tables in UPDATE SET FROM not yet supported"
1072+
)?;
10711073
}
10721074
let update_from = from_clauses.and_then(|mut f| f.pop());
10731075

0 commit comments

Comments
 (0)