Repository navigation
Expose edition selection in the C and C++ APIs - #11435
Conversation
Signed-off-by: jinli.zjw <jinli.zjw@alibaba-inc.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Merging this PR will degrade performance by 15.04%2 warnings
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Signed-off-by: jinli.zjw <jinli.zjw@alibaba-inc.com>
Summary
C and C++ writers can now select a registered edition by name before opening a writer. This lets them target older readers through the same edition-aware writer used by Java and Python. The default file sink uses the selected edition to build its write strategy and picks up the legacy zone-map support from #10805.
Codex assisted with the implementation, tests, and documentation.
Changes
vx_session_enable_editionto the C API. It returns a status code and can report avx_error.vortex::Session::enable_edition(std::string_view)to the C++ API. It reports failures throughvortex::VortexException.test_enable_editioncovers selecting an older core edition on a shared session and reporting an unknown edition name.test_sink_writes_legacy_zone_map_for_older_editionchecks that a file written through the C sink withcore2025.10.0has avortex.statslayout.