GeorgeLeePatterson opened a new pull request, #323: URL: https://github.com/apache/arrow-js/pull/323
## What's Changed This PR adds read support for ListView and LargeListView types (Arrow format 1.4.0+), which provide variable-length list semantics with explicit size tracking for improved slicing performance. ## Implementation Details ### Core Type Support - Added ListView and LargeListView type classes - Type enum entries: Type.ListView = 29, Type.LargeListView = 30 - Data class with separate offset and size buffer handling ### Visitor Pattern - Get visitor: Implements offset+size semantics (vs cumulative offsets in List) - Set visitor: Marks as immutable (read-only) - VectorLoader: Reads from IPC format - TypeComparator, TypeCtor: Type system integration ## What Works - [X] Reading ListView/LargeListView columns from Arrow IPC files - [X] Accessing list elements with offset+size pairs - [X] Efficient slicing (no offset recomputation needed) - [X] Type checking and comparison ## Testing - [X] Unit tests for ListView and LargeListView in test/unit/ipc/view-types-tests.ts - [X] Tests verify offset/size buffer handling - [X] All existing tests pass - [X] CI validated on fork Builds on #320 -- 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]
