beliefer commented on a change in pull request #35710:
URL: https://github.com/apache/spark/pull/35710#discussion_r828618903



##########
File path: 
sql/catalyst/src/main/java/org/apache/spark/sql/connector/read/SupportsPushDownTopN.java
##########
@@ -35,4 +35,12 @@
      * Pushes down top N to the data source.
      */
     boolean pushTopN(SortOrder[] orders, int limit);
+
+    /**
+     * Whether the top N is partially pushed or not. If it returns true, then 
Spark will do top N again.
+     * This method will only be called when `pushTopN` returns true.
+     *
+     * @return true if sort be pushed down to datasource partially, false 
otherwise.

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]

Reply via email to