alamb commented on issue #10433:
URL: https://github.com/apache/datafusion/issues/10433#issuecomment-2103138751

   > It the example TableProvider may know that it needed to provide only last 
record batch (or the latest parquet file from folder).
   
   The provider can tell DataFusion it produces data in some pre-existing order 
via
   
https://docs.rs/datafusion/latest/datafusion/physical_plan/trait.ExecutionPlan.html#tymethod.properties
   which can then communicate the sortedness via 
https://docs.rs/datafusion/latest/datafusion/physical_plan/struct.PlanProperties.html#method.output_ordering
   
   However, that usecase is for data that is already always sorted. It doesn't 
permit DataFusion to say "I won't use the sort order you reported so you don't 
have to honor the contract" 🤔 
   
   


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to