Skip to content

Conversation

@mustiikhalil
Copy link
Collaborator

Implements FlatbuffersVector which confirms to RandomAccessCollection, this would give us semi-native sugary syntax to all the arrays in swift port.

This work will also be the foundation of using arrays in swift

@github-actions github-actions bot added c++ codegen Involving generating code from schema grpc swift labels Nov 2, 2025
@mustiikhalil mustiikhalil force-pushed the mmk/refactor-vectors-arrays-swift branch 4 times, most recently from 11ed3f7 to 49c0932 Compare November 2, 2025 01:49
@mustiikhalil mustiikhalil enabled auto-merge (squash) November 2, 2025 01:56
@mustiikhalil mustiikhalil force-pushed the mmk/refactor-vectors-arrays-swift branch from 49c0932 to 74c6c15 Compare November 4, 2025 13:20
Implements FlatbuffersVector which confirms to RandomAccessCollection,
this would give us semi-native sugary syntax to all the arrays in swift port.

This work will also be the foundation of using arrays in swift

Fix failing tests for Swift

Making sure we only read the vector position once, when the vector is initialized
@mustiikhalil mustiikhalil force-pushed the mmk/refactor-vectors-arrays-swift branch from 74c6c15 to 65e2367 Compare November 4, 2025 13:37
@mustiikhalil mustiikhalil merged commit 5fe90a9 into google:master Nov 4, 2025
45 of 48 checks passed
@mustiikhalil mustiikhalil deleted the mmk/refactor-vectors-arrays-swift branch November 14, 2025 23:36
dongjoon-hyun added a commit to apache/spark-connect-swift that referenced this pull request Jan 5, 2026
### What changes were proposed in this pull request?

This PR aims to upgrade `FlatBuffers` to `v25.12.19`

### Why are the changes needed?

To bring the latest bug fixes and improvements
- https://github.com/google/flatbuffers/releases/tag/v25.12.19 (2025-12-19)
  - google/flatbuffers#8758
  - google/flatbuffers#8772
  - google/flatbuffers#8755
  - google/flatbuffers#8815
  - google/flatbuffers#8752
  - google/flatbuffers#8742

### Does this PR introduce _any_ user-facing change?

No. There is no behavior change.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

Yes (`Gemini 3 Pro` on `Antigravity`)

Closes #275 from dongjoon-hyun/SPARK-54899.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ codegen Involving generating code from schema grpc swift

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants