Dandandan commented on a change in pull request #972:
URL: https://github.com/apache/arrow-datafusion/pull/972#discussion_r707069825



##########
File path: datafusion/src/datasource/datasource.rs
##########
@@ -102,6 +102,7 @@ pub trait TableProvider: Sync + Send {
         // If set, it contains the amount of rows needed by the `LogicalPlan`,
         // The datasource should return *at least* this number of rows if 
available.
         limit: Option<usize>,
+        max_partitions: usize,

Review comment:
       What about calling it `target_partitions` ? In the future we might add 
support for (column-based) partitioning in datasources, in that scenario you 
might end up with more than `max_partitions`




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


Reply via email to