pallevam opened a new pull request, #18549: URL: https://github.com/apache/iceberg/pull/18549
The "Replacing and fast forwarding branches and tags" example in the Java API quickstart calls `replaceBranch` on a tag, which throws `IllegalArgumentException` at runtime, and calls `setMaxRefAgeMs` without the ref name, which does not compile. It now uses `replaceTag` and passes the tag name, and points the tag at snapshot 3 to match the comment above it. This revives the same fix from #17084, which was closed by the stale bot without review. Fixes #17081 Test plan: `make lint` in `site/` passes; method signatures checked against `ManageSnapshots`. --- **AI Disclosure** - Model: Claude Opus 5.5 - Platform/Tool: Claude Code - Human Oversight: [unknown - human to fill in] - Prompt Summary: Fix the incorrect tag replacement example reported in #17081. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
