Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ let package = Package(
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", from: "1.1.0"),
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", from: "1.0.2"),
.package(url: "https://github.com/scottrhoyt/SwiftyTextTable.git", from: "0.9.0"),
.package(url: "https://github.com/google/flatbuffers.git", branch: "v24.3.7"),
.package(url: "https://github.com/google/flatbuffers.git", branch: "v25.2.10"),
],
targets: [
.target(
Expand Down
2 changes: 1 addition & 1 deletion Sources/SparkConnect/File_generated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public struct org_apache_arrow_flatbuf_Footer: FlatBufferObject, Verifiable {
let o = _accessor.offset(VTOFFSET.schema.v)
return o == 0
? nil
: org_apache_arrow_flatbuf_Schema(_accessor.bb, o: _accessor.indirect(o + _accessor.postion))
: org_apache_arrow_flatbuf_Schema(_accessor.bb, o: _accessor.indirect(o + _accessor.position))
}
public var hasDictionaries: Bool {
let o = _accessor.offset(VTOFFSET.dictionaries.v)
Expand Down
4 changes: 2 additions & 2 deletions Sources/SparkConnect/Message_generated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public struct org_apache_arrow_flatbuf_RecordBatch: FlatBufferObject, Verifiable
return o == 0
? nil
: org_apache_arrow_flatbuf_BodyCompression(
_accessor.bb, o: _accessor.indirect(o + _accessor.postion))
_accessor.bb, o: _accessor.indirect(o + _accessor.position))
}
public static func startRecordBatch(_ fbb: inout FlatBufferBuilder) -> UOffset {
fbb.startTable(with: 4)
Expand Down Expand Up @@ -433,7 +433,7 @@ public struct org_apache_arrow_flatbuf_DictionaryBatch: FlatBufferObject, Verifi
return o == 0
? nil
: org_apache_arrow_flatbuf_RecordBatch(
_accessor.bb, o: _accessor.indirect(o + _accessor.postion))
_accessor.bb, o: _accessor.indirect(o + _accessor.position))
}
/// If isDelta is true the values in the dictionary are to be appended to a
/// dictionary with the indicated id. If isDelta is false this dictionary
Expand Down
4 changes: 2 additions & 2 deletions Sources/SparkConnect/Schema_generated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ public struct org_apache_arrow_flatbuf_DictionaryEncoding: FlatBufferObject, Ver
let o = _accessor.offset(VTOFFSET.indexType.v)
return o == 0
? nil
: org_apache_arrow_flatbuf_Int(_accessor.bb, o: _accessor.indirect(o + _accessor.postion))
: org_apache_arrow_flatbuf_Int(_accessor.bb, o: _accessor.indirect(o + _accessor.position))
}
/// By default, dictionaries are not ordered, or the order does not have
/// semantic meaning. In some statistical, applications, dictionary-encoding
Expand Down Expand Up @@ -1785,7 +1785,7 @@ public struct org_apache_arrow_flatbuf_Field: FlatBufferObject, Verifiable {
return o == 0
? nil
: org_apache_arrow_flatbuf_DictionaryEncoding(
_accessor.bb, o: _accessor.indirect(o + _accessor.postion))
_accessor.bb, o: _accessor.indirect(o + _accessor.position))
}
/// children apply only to nested data types like Struct, List and Union. For
/// primitive types children will have length 0.
Expand Down
18 changes: 9 additions & 9 deletions Sources/SparkConnect/SparseTensor_generated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public struct org_apache_arrow_flatbuf_SparseTensorIndexCOO: FlatBufferObject, V
/// The type of values in indicesBuffer
public var indicesType: org_apache_arrow_flatbuf_Int! {
let o = _accessor.offset(VTOFFSET.indicesType.v)
return org_apache_arrow_flatbuf_Int(_accessor.bb, o: _accessor.indirect(o + _accessor.postion))
return org_apache_arrow_flatbuf_Int(_accessor.bb, o: _accessor.indirect(o + _accessor.position))
}
/// Non-negative byte offsets to advance one value cell along each dimension
/// If omitted, default to row-major order (C-like).
Expand All @@ -139,7 +139,7 @@ public struct org_apache_arrow_flatbuf_SparseTensorIndexCOO: FlatBufferObject, V
}
public var mutableIndicesBuffer: org_apache_arrow_flatbuf_Buffer_Mutable! {
let o = _accessor.offset(VTOFFSET.indicesBuffer.v)
return org_apache_arrow_flatbuf_Buffer_Mutable(_accessor.bb, o: o + _accessor.postion)
return org_apache_arrow_flatbuf_Buffer_Mutable(_accessor.bb, o: o + _accessor.position)
}
/// This flag is true if and only if the indices matrix is sorted in
/// row-major order, and does not have duplicated entries.
Expand Down Expand Up @@ -251,7 +251,7 @@ public struct org_apache_arrow_flatbuf_SparseMatrixIndexCSX: FlatBufferObject, V
/// The type of values in indptrBuffer
public var indptrType: org_apache_arrow_flatbuf_Int! {
let o = _accessor.offset(VTOFFSET.indptrType.v)
return org_apache_arrow_flatbuf_Int(_accessor.bb, o: _accessor.indirect(o + _accessor.postion))
return org_apache_arrow_flatbuf_Int(_accessor.bb, o: _accessor.indirect(o + _accessor.position))
}
/// indptrBuffer stores the location and size of indptr array that
/// represents the range of the rows.
Expand Down Expand Up @@ -282,12 +282,12 @@ public struct org_apache_arrow_flatbuf_SparseMatrixIndexCSX: FlatBufferObject, V
}
public var mutableIndptrBuffer: org_apache_arrow_flatbuf_Buffer_Mutable! {
let o = _accessor.offset(VTOFFSET.indptrBuffer.v)
return org_apache_arrow_flatbuf_Buffer_Mutable(_accessor.bb, o: o + _accessor.postion)
return org_apache_arrow_flatbuf_Buffer_Mutable(_accessor.bb, o: o + _accessor.position)
}
/// The type of values in indicesBuffer
public var indicesType: org_apache_arrow_flatbuf_Int! {
let o = _accessor.offset(VTOFFSET.indicesType.v)
return org_apache_arrow_flatbuf_Int(_accessor.bb, o: _accessor.indirect(o + _accessor.postion))
return org_apache_arrow_flatbuf_Int(_accessor.bb, o: _accessor.indirect(o + _accessor.position))
}
/// indicesBuffer stores the location and size of the array that
/// contains the column indices of the corresponding non-zero values.
Expand All @@ -304,7 +304,7 @@ public struct org_apache_arrow_flatbuf_SparseMatrixIndexCSX: FlatBufferObject, V
}
public var mutableIndicesBuffer: org_apache_arrow_flatbuf_Buffer_Mutable! {
let o = _accessor.offset(VTOFFSET.indicesBuffer.v)
return org_apache_arrow_flatbuf_Buffer_Mutable(_accessor.bb, o: o + _accessor.postion)
return org_apache_arrow_flatbuf_Buffer_Mutable(_accessor.bb, o: o + _accessor.position)
}
public static func startSparseMatrixIndexCSX(_ fbb: inout FlatBufferBuilder) -> UOffset {
fbb.startTable(with: 5)
Expand Down Expand Up @@ -440,7 +440,7 @@ public struct org_apache_arrow_flatbuf_SparseTensorIndexCSF: FlatBufferObject, V
/// The type of values in indptrBuffers
public var indptrType: org_apache_arrow_flatbuf_Int! {
let o = _accessor.offset(VTOFFSET.indptrType.v)
return org_apache_arrow_flatbuf_Int(_accessor.bb, o: _accessor.indirect(o + _accessor.postion))
return org_apache_arrow_flatbuf_Int(_accessor.bb, o: _accessor.indirect(o + _accessor.position))
}
/// indptrBuffers stores the sparsity structure.
/// Each two consecutive dimensions in a tensor correspond to a buffer in
Expand Down Expand Up @@ -481,7 +481,7 @@ public struct org_apache_arrow_flatbuf_SparseTensorIndexCSF: FlatBufferObject, V
/// The type of values in indicesBuffers
public var indicesType: org_apache_arrow_flatbuf_Int! {
let o = _accessor.offset(VTOFFSET.indicesType.v)
return org_apache_arrow_flatbuf_Int(_accessor.bb, o: _accessor.indirect(o + _accessor.postion))
return org_apache_arrow_flatbuf_Int(_accessor.bb, o: _accessor.indirect(o + _accessor.position))
}
/// indicesBuffers stores values of nodes.
/// Each tensor dimension corresponds to a buffer in indicesBuffers.
Expand Down Expand Up @@ -696,7 +696,7 @@ public struct org_apache_arrow_flatbuf_SparseTensor: FlatBufferObject, Verifiabl
}
public var mutableData: org_apache_arrow_flatbuf_Buffer_Mutable! {
let o = _accessor.offset(VTOFFSET.data.v)
return org_apache_arrow_flatbuf_Buffer_Mutable(_accessor.bb, o: o + _accessor.postion)
return org_apache_arrow_flatbuf_Buffer_Mutable(_accessor.bb, o: o + _accessor.position)
}
public static func startSparseTensor(_ fbb: inout FlatBufferBuilder) -> UOffset {
fbb.startTable(with: 7)
Expand Down
2 changes: 1 addition & 1 deletion Sources/SparkConnect/Tensor_generated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public struct org_apache_arrow_flatbuf_Tensor: FlatBufferObject, Verifiable {
}
public var mutableData: org_apache_arrow_flatbuf_Buffer_Mutable! {
let o = _accessor.offset(VTOFFSET.data.v)
return org_apache_arrow_flatbuf_Buffer_Mutable(_accessor.bb, o: o + _accessor.postion)
return org_apache_arrow_flatbuf_Buffer_Mutable(_accessor.bb, o: o + _accessor.position)
}
public static func startTensor(_ fbb: inout FlatBufferBuilder) -> UOffset {
fbb.startTable(with: 5)
Expand Down
Loading