PyRSA opened a new pull request, #1368: URL: https://github.com/apache/paimon-rust/pull/1368
### Purpose Expose optional tag retention on the C and Go catalog APIs so callers can create tags with durations such as `"1d"`, matching the existing Python binding and core `create_tag_with_retention` path. ### Brief change log - C: add `paimon_catalog_create_tag_with_retention`; keep `paimon_catalog_create_tag` as a null-retention wrapper. - Go: add `Catalog.CreateTagWithRetention`; `CreateTag` delegates with `nil` retention. - Docs: update `docs/src/go-binding.md` and remove the “retention not yet supported” note. - Tests: happy path `"1d"` → `PT24H`; plain create leaves retention unset; invalid `"-1d"` returns `InvalidInput` and creates no tag. ### Tests - `bindings/c`: `tests::test_catalog_tag_lifecycle` - `bindings/go`: catalog tag lifecycle coverage for retention create/get and invalid retention ### API and Format Additive API only. Existing `CreateTag` / `paimon_catalog_create_tag` behavior is unchanged (no retention metadata). Retention is persisted on the tag file; this change does not expire tags automatically. -- 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]
