yingjianwu98 opened a new pull request, #3264: URL: https://github.com/apache/iceberg-python/pull/3264
# Rationale for this change We recently encountered recursion depth errors in _build_partition_predicate when performing overwrites involving a large number of partitions. To address this, we’ve switched to a balanced-tree implementation, which is already used in several other parts of the PyIceberg codebase to avoid recursion issues. This change aligns _build_partition_predicate with those existing patterns. For reference, see for example: https://github.com/apache/iceberg-python/pull/1830 ## Are these changes tested? Yes, with existing tests and also added another test to ensure it works with large number of input partitions ## Are there any user-facing changes? No <!-- In the case of user-facing changes, please add the changelog label. --> -- 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]
