badalprasadsingh opened a new issue, #1636: URL: https://github.com/apache/iceberg-go/issues/1636
### Apache Iceberg version main (development) ### Please describe the bug 🐞 Any write operation (`Append`, `AppendTable`, `Overwrite`, or `Delete`) executed through a transaction created with `NewTransactionOnBranch(branch)` for a branch other than `main` builds the new snapshot with the wrong parent. **Impact:** * The new snapshot records the `main` branch's head as its parent instead of the target branch's head. * The branch silently inherits data files from `main`, leading to incorrect snapshot lineage and data corruption. **Contribution:** I'll submit a PR to fix this issue. -- 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]
