liurenjie1024 commented on code in PR #1887:
URL: https://github.com/apache/iceberg-rust/pull/1887#discussion_r2591650077


##########
crates/sqllogictest/testdata/schedules/df_test.toml:
##########
@@ -20,4 +20,8 @@ df = { type = "datafusion" }
 
 [[steps]]
 engine = "df"
-slt = "df_test/show_tables.slt"
\ No newline at end of file
+slt = "df_test/show_tables.slt"
+
+[[steps]]

Review Comment:
   In fact, it's not designed for it. But for simple case it's fine for now.



##########
crates/sqllogictest/src/engine/datafusion.rs:
##########
@@ -84,8 +85,74 @@ impl DataFusionEngine {
             )
             .await?;
 
+        // Create a test namespace for INSERT INTO tests
+        let namespace = NamespaceIdent::new("default".to_string());
+        catalog.create_namespace(&namespace, HashMap::new()).await?;
+
+        // Create test tables
+        Self::create_unpartitioned_table(&catalog, &namespace).await?;

Review Comment:
   Please create an issue to track the support of `creating table` and add a 
TODO comment here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to