zhjwpku commented on code in PR #542:
URL: https://github.com/apache/iceberg-cpp/pull/542#discussion_r2768927519
##########
src/iceberg/update/snapshot_update.h:
##########
@@ -76,6 +76,18 @@ class ICEBERG_EXPORT SnapshotUpdate : public PendingUpdate {
return self;
}
+ /// \brief Perform operations on a particular branch
+ ///
+ /// \param branch Which is name of SnapshotRef of type branch
+ /// \return Reference to this for method chaining
+ auto& ToBranch(this auto& self, const std::string& branch) {
Review Comment:
Got it, changed to SetTargetBranch.
--
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]