Jimexist commented on a change in pull request #1243:
URL: https://github.com/apache/arrow-datafusion/pull/1243#discussion_r744058021



##########
File path: datafusion/tests/sql.rs
##########
@@ -687,6 +687,30 @@ async fn select_all() -> Result<()> {
     Ok(())
 }
 
+#[tokio::test]
+async fn create_table_as() -> Result<()> {
+    let mut ctx = ExecutionContext::new();
+    register_aggregate_simple_csv(&mut ctx).await?;
+
+    let sql = "CREATE TABLE my_table AS SELECT * FROM aggregate_simple";

Review comment:
       one thing you can try is to create table as select from values lists




-- 
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]


Reply via email to