We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cc8d3e7 + 624ac3f commit a611da7Copy full SHA for a611da7
src/adapter/src/coord/sequencer/inner.rs
@@ -889,7 +889,13 @@ impl Coordinator {
889
Err(AdapterError::Catalog(mz_catalog::memory::error::Error {
890
kind:
891
mz_catalog::memory::error::ErrorKind::Sql(CatalogError::ItemAlreadyExists(_, _)),
892
- })) if plan.if_not_exists => Ok(ExecuteResponse::CreatedConnection),
+ })) if plan.if_not_exists => {
893
+ session.add_notice(AdapterNotice::ObjectAlreadyExists {
894
+ name: plan.name.item,
895
+ ty: "connection",
896
+ });
897
+ Ok(ExecuteResponse::CreatedConnection)
898
+ }
899
Err(err) => Err(err),
900
}
901
0 commit comments