This is an automated email from the ASF dual-hosted git repository.
kou pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
from 13630c7a83 MINOR: [Java] Bump org.apache.commons:commons-compress from
1.26.0 to 1.26.2 in /java (#41853)
add 4d524eb401 GH-37938: [Swift] Add initial C data interface
implementation (#41342)
No new revisions were added by this update.
Summary of changes:
ci/docker/ubuntu-swift.dockerfile | 2 +-
dev/release/rat_exclude_files.txt | 1 +
swift/.swiftlint.yml | 4 +
swift/Arrow/Package.swift | 22 ++-
swift/Arrow/Sources/Arrow/ArrowArray.swift | 39 +++--
swift/Arrow/Sources/Arrow/ArrowBuffer.swift | 17 +-
swift/Arrow/Sources/Arrow/ArrowCExporter.swift | 135 ++++++++++++++++
swift/Arrow/Sources/Arrow/ArrowCImporter.swift | 179 +++++++++++++++++++++
swift/Arrow/Sources/Arrow/ArrowReaderHelper.swift | 16 +-
swift/Arrow/Sources/Arrow/ArrowSchema.swift | 6 +-
swift/Arrow/Sources/Arrow/ArrowTable.swift | 18 ++-
swift/Arrow/Sources/Arrow/ArrowType.swift | 116 +++++++++++++
swift/Arrow/Sources/Arrow/ChunkedArray.swift | 5 +
.../Arrow/Sources/ArrowC/ArrowCData.c | 18 +--
swift/Arrow/Sources/ArrowC/include/ArrowCData.h | 81 ++++++++++
swift/Arrow/Tests/ArrowTests/CDataTests.swift | 125 ++++++++++++++
swift/Arrow/Tests/ArrowTests/IPCTests.swift | 16 +-
.../Arrow/Tests/ArrowTests/RecordBatchTests.swift | 4 +-
swift/Arrow/Tests/ArrowTests/TableTests.swift | 4 +-
swift/ArrowFlight/Package.swift | 4 +-
.../Tests/ArrowFlightTests/FlightTest.swift | 6 +-
swift/CDataWGo/.gitignore | 8 +
.../CDataWGo/Package.swift | 46 +++---
swift/CDataWGo/Sources/go-swift/CDataTest.swift | 132 +++++++++++++++
.../swift-datagen => CDataWGo}/go.mod | 31 ++--
.../swift-datagen => CDataWGo}/go.sum | 32 +++-
.../chunker.h => swift/CDataWGo/include/go_swift.h | 19 +--
swift/CDataWGo/main.go | 127 +++++++++++++++
28 files changed, 1099 insertions(+), 114 deletions(-)
create mode 100644 swift/Arrow/Sources/Arrow/ArrowCExporter.swift
create mode 100644 swift/Arrow/Sources/Arrow/ArrowCImporter.swift
copy cpp/examples/arrow/helloworld.proto =>
swift/Arrow/Sources/ArrowC/ArrowCData.c (73%)
create mode 100644 swift/Arrow/Sources/ArrowC/include/ArrowCData.h
create mode 100644 swift/Arrow/Tests/ArrowTests/CDataTests.swift
create mode 100644 swift/CDataWGo/.gitignore
copy go/arrow/compute/fieldref_hash.go => swift/CDataWGo/Package.swift (57%)
create mode 100644 swift/CDataWGo/Sources/go-swift/CDataTest.swift
copy swift/{data-generator/swift-datagen => CDataWGo}/go.mod (59%)
copy swift/{data-generator/swift-datagen => CDataWGo}/go.sum (60%)
copy cpp/src/arrow/json/chunker.h => swift/CDataWGo/include/go_swift.h (70%)
create mode 100644 swift/CDataWGo/main.go