Fokko commented on issue #1223: URL: https://github.com/apache/iceberg-python/issues/1223#issuecomment-2501946144
@tusharchou Thanks. I was noodling on this, and instead of having a `.to_arrow()`, we could also have a `.count()` that will return the number of rows that match the predicate. This will then leverage the Iceberg metadata as much as possible, but we still might need to open files if there are positional deletes, or if we cannot get a definitive answer using the statistics that we have. We would be able to leverage a lot of the logic of the current read-path. Any thoughts so far? -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org