beliefer commented on a change in pull request #34904:
URL: https://github.com/apache/spark/pull/34904#discussion_r770162045
##########
File path:
sql/catalyst/src/main/java/org/apache/spark/sql/connector/read/SupportsPushDownAggregates.java
##########
@@ -45,6 +45,14 @@
@Evolving
public interface SupportsPushDownAggregates extends ScanBuilder {
+ /**
+ * Whether the datasource support complete aggregation push-down. Spark
could avoid partial-agg
+ * and final-agg when the aggregation operation can be pushed down to the
datasource completely.
+ *
+ * @return true if the aggregation can be pushed down to datasource
completely, false otherwise.
+ */
+ boolean supportCompletePushDown();
Review comment:
OK
--
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]