milenkovicm commented on code in PR #1309:
URL: 
https://github.com/apache/datafusion-ballista/pull/1309#discussion_r2532137829


##########
ballista/client/tests/context_checks.rs:
##########
@@ -979,4 +979,83 @@ mod supported {
 
         Ok(())
     }
+
+    #[rstest]

Review Comment:
   this test fails in my environment, looks like its prone to user name change



##########
ballista/client/tests/context_checks.rs:
##########
@@ -979,4 +979,83 @@ mod supported {
 
         Ok(())
     }
+
+    #[rstest]
+    #[case::standalone(standalone_context())]
+    #[case::remote(remote_context())]
+    #[tokio::test]
+    async fn should_execute_explain_query_correctly(
+        #[future(awt)]
+        #[case]
+        ctx: SessionContext,
+        test_data: String,
+    ) {
+        let parquet_path = format!("{test_data}/alltypes_plain.parquet");
+        ctx.register_parquet("test", &parquet_path, Default::default())
+            .await
+            .unwrap();
+
+        let result = ctx
+            .sql("EXPLAIN select count(*), id from test where id > 4 group by 
id")

Review Comment:
   can we do something like?
   
   ```rust
   ctx.sql("EXPLAIN select count(*), id from (select unnest([1,2,3,4,5]) as id) 
group by id")
   ```



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