Deprecate FromArrowArray in favour of ArrowSession array imports - #8927
Open
robert3005 wants to merge 3 commits into
Open
Deprecate FromArrowArray in favour of ArrowSession array imports#8927robert3005 wants to merge 3 commits into
robert3005 wants to merge 3 commits into
Conversation
Merging this PR will degrade performance by 45.38%
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
robert3005
force-pushed
the
rk/deprecate-arrow-arrays
branch
from
July 23, 2026 16:23
2bdf0b7 to
154677c
Compare
robert3005
force-pushed
the
rk/deprecate-arrow-arrays
branch
from
July 23, 2026 21:49
154677c to
97e60f3
Compare
robert3005
force-pushed
the
rk/deprecate-arrow-arrays
branch
2 times, most recently
from
July 23, 2026 22:52
ff9c087 to
3c9fce8
Compare
robert3005
force-pushed
the
rk/deprecate-arrow-arrays
branch
from
July 31, 2026 14:44
3c9fce8 to
7b17f7f
Compare
robert3005
force-pushed
the
rk/deprecate-arrow-arrays
branch
from
August 5, 2026 17:27
7b17f7f to
4ece166
Compare
Follow-up to #8918: `FromArrowArray` is now #[deprecated] and every usage is replaced with `ArrowSession` methods, making the session the authoritative Arrow array import path. - `ArrowSession` gains `from_arrow_array_nullable(&dyn Array, bool)` for imports with no Arrow `Field` in hand; nested fields still dispatch extension import plugins. - `ArrowImportVTable::from_arrow_array` now receives the `ArrowSession` so plugins convert storage through the session (uuid, geo, json, tensor, parquet-variant updated). - All consumers (datafusion, python, ffi, tui, bench, compat-gen, layout, facade doc snippet) migrated to `from_arrow_array` / `from_arrow_array_nullable` / `from_arrow_record_batch`. - `vx_array_from_arrow` now imports through the session using the FFI schema's field, so Arrow extension types round-trip. - `IntoArrowArray` was already deprecated and has no remaining users. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Robert Kruszewski <github@robertk.io>
…ions
- `ParquetVariant::from_arrow_variant{,_nullable}` take an `&ArrowSession`
threaded from vtables/kernels, so shredded storage children resolve
through the registered import plugins.
- `native_geometry_scalar_from_wkb` takes an `&ArrowSession`; vortex-duckdb
passes its crate session.
- `vx_array_from_arrow` takes a `const vx_session*` (header regenerated).
- Extract each `FromArrowArray` impl body into a named, invocable
`vortex_arrow::convert::from_arrow_*` function (primitive, decimal,
temporal, bytes, byte-view, boolean, struct, list, list-view,
fixed-size-list, null, dictionary, run-ends, dyn dispatch, record batch);
the deprecated trait impls are now thin shims so the trait can eventually
be deleted.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Robert Kruszewski <github@robertk.io>
Array::from_arrow takes a Session; C header regenerated. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Robert Kruszewski <github@robertk.io>
robert3005
force-pushed
the
rk/deprecate-arrow-arrays
branch
from
August 5, 2026 19:18
4ece166 to
ffd3548
Compare
robert3005
marked this pull request as ready for review
August 5, 2026 20:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove all usages of FromArrowArray and ToArrowArray in favour of using ArrowSession