Copilot commented on code in PR #868:
URL: https://github.com/apache/iceberg-cpp/pull/868#discussion_r3892392417
##########
src/iceberg/update/pending_update.cc:
##########
@@ -35,26 +52,39 @@ Status PendingUpdate::Commit() {
if (!ctx_->transaction) {
// Table-created path: no transaction exists yet, create a temporary one.
ICEBERG_ASSIGN_OR_RAISE(auto txn, Transaction::Make(ctx_));
Review Comment:
The comment describes this branch as the "Table-created path", but the
condition is actually "no transaction attached to the context" (standalone
update commit). This is now misleading given the updated standalone-commit
behavior and the Transaction::Make(ctx) docstring.
--
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]