ovr commented on a change in pull request #9175:
URL: https://github.com/apache/arrow/pull/9175#discussion_r556527130
##########
File path: rust/datafusion/tests/sql.rs
##########
@@ -345,6 +345,50 @@ async fn csv_query_group_by_int_min_max() -> Result<()> {
Ok(())
}
+#[tokio::test]
+async fn csv_query_group_by_float32() -> Result<()> {
+ let mut ctx = ExecutionContext::new();
+ register_aggregate_floats_csv(&mut ctx)?;
+
+ let sql =
+ "SELECT COUNT(*) as cnt, c1 FROM aggregate_floats GROUP BY c1 ORDER BY
cnt DESC";
+ let actual = execute(&mut ctx, sql).await;
+
+ // @todo Count OR GROUP BY has a bug?
Review comment:
@andygrove @alamb @mqy
Any ideas why COUNT on group not working with only one value?
Thanks
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]