Skip to content

vortex-jni includes vortex-geo, jni arrow import/export uses session methods#8914

Merged
robert3005 merged 4 commits into
developfrom
rk/geo
Jul 24, 2026
Merged

vortex-jni includes vortex-geo, jni arrow import/export uses session methods#8914
robert3005 merged 4 commits into
developfrom
rk/geo

Conversation

@robert3005

Copy link
Copy Markdown
Contributor

For iceberg support we want to include geo types, we already have all the logic
in vortex-geo. Adding vortex-geo exposed a bug where we weren't correctly using
session to export dtypes. vortex-jni by default bundles vortex-geo

…methods

Signed-off-by: Robert Kruszewski <github@robertk.io>
@robert3005 robert3005 added the changelog/feature A new feature label Jul 23, 2026
Signed-off-by: Robert Kruszewski <github@robertk.io>
Signed-off-by: Robert Kruszewski <github@robertk.io>
@robert3005
robert3005 enabled auto-merge (squash) July 23, 2026 12:08
Comment thread vortex-jni/src/session.rs
pub(crate) fn new_session() -> Box<VortexSession> {
let session = VortexSession::default().with_handle(RUNTIME.handle());
vortex_parquet_variant::initialize(&session);
vortex_geo::initialize(&session);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

a10y commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This should be an actual assertion, not debug_assert. Nothing else checks this, and anyone can call the Native* methods e.g. via reflection.

@0ax1
0ax1 removed their request for review July 23, 2026 13:48
Signed-off-by: Robert Kruszewski <github@robertk.io>
@robert3005
robert3005 merged commit 63d1b8a into develop Jul 24, 2026
73 checks passed
@robert3005
robert3005 deleted the rk/geo branch July 24, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants