emilie-wang opened a new issue, #2562:
URL: https://github.com/apache/iceberg-python/issues/2562

   ### Feature Request / Improvement
   
   Hi pyiceberg community,
   
   Is there a more efficient way than the API `table.inspect.partitions()` to 
query specific partitions?
   
   The `table.inspect.partitions()` seems expensive as it reads all manifest 
files, especially when the table has many partitions, while we only need to 
check a few recent partitions.
   
   I have a few questions about this use case:
   - Is there any more efficient way to do this that I am missing?
   - If not, can I propose something like 
`partitions_filtered(partition_filter)` to get the specific partition by 
reusing the work 
https://github.com/apache/iceberg-python/blob/5ee5eeac076b7d3e12ced7f59d4331c2e2f2ceec/pyiceberg/table/__init__.py#L1918
   
   Thanks!


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