Weijun-H commented on code in PR #11798:
URL: https://github.com/apache/datafusion/pull/11798#discussion_r1703539384


##########
datafusion/core/src/test_util/mod.rs:
##########
@@ -402,3 +407,57 @@ pub fn bounded_stream(batch: RecordBatch, limit: usize) -> 
SendableRecordBatchSt
         batch,
     })
 }
+
+/// Describe the type of aggregate being tested
+pub enum TestAggregate {
+    /// Testing COUNT(*) type aggregates
+    CountStar,
+
+    /// Testing for COUNT(column) aggregate
+    ColumnA(Arc<Schema>),
+}

Review Comment:
   This enum is used by `aggregate_statistics` and 
`limited_distinct_aggregate`, so move it for convenience.



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