bharos opened a new pull request, #15840: URL: https://github.com/apache/iceberg/pull/15840
SparkTable.equals() and hashCode() only compared the table name, causing Spark to return cached query results for time-travel and branch queries. When a user reads from branch 'main' and then branch 'audit', Spark's cache considered them equal and returned stale data from 'main'. Include snapshotId and branch fields in equals() and hashCode() so that Spark correctly distinguishes tables loaded at different snapshots or branches. This matches the fix already applied in Spark 4.1 (current main). Closes #15741 -- 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]
