We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d0c9cb commit 66933ccCopy full SHA for 66933cc
datafusion/core/src/execution/session_state.rs
@@ -1415,10 +1415,14 @@ impl SessionStateBuilder {
1415
&state.runtime_env,
1416
);
1417
1418
- state.catalog_list.register_catalog(
+ let existing_default_catalog = state.catalog_list.register_catalog(
1419
state.config.options().catalog.default_catalog.clone(),
1420
Arc::new(default_catalog),
1421
1422
+
1423
+ if existing_default_catalog.is_some() {
1424
+ debug!("Overwrote the default catalog");
1425
+ }
1426
}
1427
1428
if let Some(analyzer_rules) = analyzer_rules {
0 commit comments