Skip to content

Apache DataFusion SQL Query Engine

chore: check the error message log (#17308)

Cancai Cai72db63c38dd2
diff --git a/datafusion/core/tests/catalog/memory.rs b/datafusion/core/tests/catalog/memory.rs
index b0753eb5c9..fd3c2aeb7a 100644
--- a/datafusion/core/tests/catalog/memory.rs
+++ b/datafusion/core/tests/catalog/memory.rs
@@ -109,7 +109,7 @@ async fn test_mem_provider() {
assert!(provider.table_exist(table_name));
let other_table = EmptyTable::new(Arc::new(Schema::empty()));
let result = provider.register_table(table_name.to_string(), Arc::new(other_table));
- assert!(result.is_err());
+ assert!(result.is_err(), "The table test_table_exist already exists");
}
#[tokio::test]