sumanth-manchala commented on issue #2467: URL: https://github.com/apache/iceberg-python/issues/2467#issuecomment-3289595209
The issue seems to be related to the projection function below where if a snapshot_id is present, it returns the schema related to that snapshot which is an older schema. https://github.com/apache/iceberg-python/blob/8275b13cb5de0efc0f52c1960861a72fc0d7246a/pyiceberg/table/__init__.py#L1683C9-L1691C26 Snapshot ID is updated on the DataScan class via these lines, which defaults to current snapshot ID always (thought the default Main ref) https://github.com/apache/iceberg-python/blob/8275b13cb5de0efc0f52c1960861a72fc0d7246a/pyiceberg/table/__init__.py#L802C9-L811C1 Maintainers, let me know your thoughts on handling this -- 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]
