huaxingao commented on a change in pull request #29695:
URL: https://github.com/apache/spark/pull/29695#discussion_r493151791
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/sources/interfaces.scala
##########
@@ -232,6 +232,17 @@ abstract class BaseRelation {
* @since 1.6.0
*/
def unhandledFilters(filters: Array[Filter]): Array[Filter] = filters
+
+ /**
+ * Returns the list of [[Aggregate]]s that this datasource may not be able
to handle.
+ * These returned [[Aggregate]]s will be evaluated by Spark SQL after data
is output by a scan.
+ * By default, this function will return all aggregates, as it is always
safe to
+ * double evaluate a [[Aggregate]].
+ *
+ * @since 3.1.0
+ */
+ def unhandledAggregates(aggregates: Array[AggregateFunc]):
Array[AggregateFunc] =
+ aggregates
Review comment:
This is not used. Will remove
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]