rdblue opened a new pull request, #6131: URL: https://github.com/apache/iceberg/pull/6131
This adds an implementation of `TableScan` that is an alternative to the one in #6069. This doesn't implement `plan_files`, it is just to demonstrate a possible scan API. This scan API works like the Java scan API, but also allows passing scan options when creating an initial scan. Both of these are supported: ```python scan = table.scan( row_filter=In("id", [5, 6, 7]), selected_fields=("id", "data"), snapshot_id=1234567890 ) # OR scan = table.scan() \ .filter_rows(In("id", [5, 6, 7])) .select("id", "data") .use_snapshot(1234567890) ``` I think this is a reasonable way to get more pythonic (by passing optional arguments) and also mostly match the API and behavior in the JVM implementation. -- 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