avantgardnerio commented on code in PR #7192:
URL: https://github.com/apache/arrow-datafusion/pull/7192#discussion_r1298655941
##########
datafusion/core/tests/sql/group_by.rs:
##########
@@ -68,6 +69,173 @@ async fn group_by_date_trunc() -> Result<()> {
Ok(())
}
+#[tokio::test]
+async fn group_by_limit() -> Result<()> {
+ let tmp_dir = TempDir::new()?;
+ let ctx = create_groupby_context(&tmp_dir).await?;
+
+ let sql = "SELECT trace_id, MAX(ts) from traces group by trace_id order by
MAX(ts) desc limit 4";
Review Comment:
I added this in the `sqllogictest`s.
--
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]