Anurag-S1ngh opened a new pull request, #4591: URL: https://github.com/apache/iceberg-python/pull/4591
Closes #3983 # Rationale for this change `_read_deletes` filtered the full delete table once per distinct `file_path`, so the cost was O(rows x distinct paths). Both the Parquet and ORC branches now group positions by `file_path` in one pass with Arrow's group-by and build the result from the grouped rows. ## Are these changes tested? Added a test that writes a delete file with 100 distinct paths in both Parquet and ORC and checks the grouped positions. The `delete` tests in `tests/io/test_pyarrow.py` pass. ## Are there any user-facing changes? No. The returned mapping is unchanged. -- 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]
