zeroshade commented on code in PR #952:
URL: https://github.com/apache/iceberg-go/pull/952#discussion_r3164114154
##########
table/requirements.go:
##########
@@ -180,14 +180,14 @@ func (a *assertRefSnapshotID) Validate(meta Metadata)
error {
if r != nil {
if a.SnapshotID == nil {
- return fmt.Errorf("requirement failed: %s %s was
created concurrently", r.SnapshotRefType, a.Ref)
+ return fmt.Errorf("requirement failed: ref %q was
created concurrently, found %d", a.Ref, r.SnapshotID)
Review Comment:
Why use `%q` here instead of `"%s"` ?
--
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]