danielhumanmod opened a new pull request, #569: URL: https://github.com/apache/incubator-xtable/pull/569
## *Important Read* - Aim to address #40 ## What is the purpose of the pull request Previously, if a rollback/restore occurred in the source table, XTable would reflect it as file changes (added or deleted) in the target table. In this PR, we aim to improve this by issuing a rollback command in the target tables, ensuring more consistent histories between the source and target. This approach is also more efficient, as it allows us to restore directly to a specific version/snapshot instead of computing a large diff against the table’s current state. This is the first part of this enhancement (1/3), focusing primarily on detecting whether a rollback/restore occurred in the source table and verifying if the corresponding commit exists in the target table. ## Brief change log - *Add a source identifier in target transaction* - *[Source] Detect rollback and get the rollbackSnapshot from source table* - *[Target] Verify if the target table contains the corresponding rollback commit* ## Verify this pull request This pull request is already covered by existing tests, all existing tests should pass -- 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]
