HaoYang670 commented on code in PR #4753:
URL: https://github.com/apache/arrow-datafusion/pull/4753#discussion_r1059232377
##########
datafusion/core/tests/sql/union.rs:
##########
@@ -80,6 +80,23 @@ async fn union_all_with_aggregate() -> Result<()> {
Ok(())
}
+#[tokio::test]
+async fn union_all_with_count() -> Result<()> {
+ let ctx = SessionContext::new();
+ execute_to_batches(&ctx, "CREATE table t as SELECT 1 as a").await;
+ let sql = "SELECT COUNT(*) FROM (SELECT a from t UNION ALL SELECT a from
t)";
Review Comment:
Could you please file an issue @jackwener ?
--
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]