Open
Conversation
Centralize the view inline/external layout boundary, infer missing external buffers from valid view elements, and ignore null slots during buffer-count recovery for Utf8View/BinaryView readers.
Normalize dictionary codes against the refpool axis for missing-aware CategoricalArray inputs so Arrow roundtrips preserve values and copy/DataFrame copycols paths no longer fail.
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.
This PR introduces experimental Arrow Flight support to Arrow.jl and follows up with a production-focused pass on Arrow write-path performance, interop coverage, and package modularization.
The Flight work adds an in-tree client implementation, IPC conversion helpers, interoperability coverage against
pyarrow.flight, and an optional native Julia server bridge. The performance work focuses on reducing conversion and write overhead for common high-throughput serialization shapes, especially offset-backed inputs, nested lists, maps, strings, binaries, andAny-typed wrappers.What Changed
Arrow Flight
Arrow.Flightsupport in-treeFlight.protoFlightServiceRPC surface:HandshakeListFlightsGetFlightInfoPollFlightInfoGetSchemaDoGetDoPutDoExchangeDoActionListActionsFlightData <-> Arrow IPCconversion helpersgRPCServer.jlextension for native Julia server integrationInteroperability and Test Coverage
pyarrow.flightfor:DoGetDoPutDoExchangeDoActionListActionsHandshakePollFlightInfotest/flight/gRPCServer.jlcoverage without mutating the shared test environmentArrowTypes and Serialization Behavior
Complexroundtrip support through ArrowTypes extension metadata1.121.12APIsToArrowsource access, conversion, iteration, and materialization behaviorWrite-Path Performance
ToArrowwritesToList{UInt8}string/binary chunk writesArrow.tobufferfast paths for:Tooling and Hygiene
Performance Notes
Local warm write-path benchmarks show substantial improvements on several production-relevant shapes. Representative results from the current branch include:
offset_map:11.238 ms -> 2.312 msoffset_nested_list:2.238 ms -> 0.797 msoffset_binary:2.228 ms -> 1.818 msoffset_string:1.829 ms -> 1.738 msIn addition, several previously problematic
Any-typed offset-backed cases are now stable and writable.These numbers are local throughput indicators, not a formal cross-machine performance contract.
Validation
Pkg.test("Arrow")Pkg.test()insrc/ArrowTypespyarrow.flightinteroperability coveragerun_rat.sh .git diff --checkNotes