sidpug-arcana opened a new pull request, #201:
URL: https://github.com/apache/arrow-swift/pull/201

   ## What's Changed
   
   Supersedes #160 (chore: bump github.com/google/flatbuffers from 25.2.10 to 
25.12.19), which fails CI on its own because the committed generated code was 
built with flatc 25.2.10 and is incompatible with the 25.12.19 runtime.
   
   This PR includes the version bump from #160 plus the changes required to 
build and pass tests against the new runtime:
   
   - Regenerated the FlatBuffers Swift sources (`*_generated.swift`) with flatc 
25.12.19, using the `format/*.fbs` schemas from apache/arrow (`7151dcd6fa`, 
i.e. the same schema revision the previous generated code was based on).
   - Adapted hand-written code to the new generated/runtime API:
     - Vector accessors changed from `xxxCount` / `xxx(at:)` to typed `Vector` 
collections (`xxx.count`, `xxx[i]`).
     - `FlatBufferObject` protocol split into `FlatBufferTable` / 
`FlatBufferStruct`.
     - `ByteBuffer(data:allowReadingUnalignedBuffers:)` was removed from the 
runtime, so the now-obsolete `useUnalignedBuffers` plumbing was dropped from 
the IPC readers and ArrowFlight.
   - `gen-flatbuffers.sh`: added an `ARROW_FORMAT_DIR` override and fixed the 
paths for the current repository layout.
   
   ## Testing
   
   Built and ran the full test suite locally (macOS, Swift 6.4), including the 
IPC file tests with fixtures generated by `data-generator/swift-datagen`:
   
   ```
   Executed 46 tests, with 0 failures (0 unexpected)
   ```
   
   Fixes #160.


-- 
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]

Reply via email to