This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-connect-swift.git
The following commit(s) were added to refs/heads/main by this push:
new c0f0719 [SPARK-52472] Regenerate `Spark Connect`-generated Swift
source code with `protoc-gen-grpc-swift-2`
c0f0719 is described below
commit c0f07194c19e034c9179cd130a4c0db0b21c9f29
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Fri Jun 13 13:07:56 2025 -0700
[SPARK-52472] Regenerate `Spark Connect`-generated Swift source code with
`protoc-gen-grpc-swift-2`
### What changes were proposed in this pull request?
This PR aims to regenerate `Spark Connect`-generated Swift source code with
`protoc-gen-grpc-swift-2`.
- https://formulae.brew.sh/formula/protoc-gen-grpc-swift
- https://github.com/grpc/grpc-swift-protobuf/releases/tag/2.0.0
```bash
$ which protoc-gen-grpc-swift-2
/opt/homebrew/bin/protoc-gen-grpc-swift-2
```
### Why are the changes needed?
These files are manually generated from
[v4.0.0](https://github.com/apache/spark/releases/tag/v4.0.0) tag by the
following standard procedures.
```
$ git clone -b v4.0.0 https://github.com/apache/spark.git
$ cd spark/sql/connect/common/src/main/protobuf/
$ protoc --swift_out=. spark/connect/*.proto
$ protoc --grpc-swift_out=. spark/connect/*.proto
// Remove empty GRPC files
$ git grep 'This file contained no services'
spark/connect/catalog.grpc.swift:// This file contained no services.
spark/connect/commands.grpc.swift:// This file contained no services.
spark/connect/common.grpc.swift:// This file contained no services.
spark/connect/example_plugins.grpc.swift:// This file contained no services.
spark/connect/expressions.grpc.swift:// This file contained no services.
spark/connect/ml.grpc.swift:// This file contained no services.
spark/connect/ml_common.grpc.swift:// This file contained no services.
spark/connect/relations.grpc.swift:// This file contained no services.
spark/connect/types.grpc.swift:// This file contained no services.
```
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #198 from dongjoon-hyun/SPARK-52472.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
Sources/SparkConnect/base.grpc.swift | 9 ++
Sources/SparkConnect/base.pb.swift | 12 --
Sources/SparkConnect/commands.pb.swift | 4 -
Sources/SparkConnect/expressions.pb.swift | 48 -------
Sources/SparkConnect/relations.pb.swift | 201 +-----------------------------
Sources/SparkConnect/types.pb.swift | 16 ---
6 files changed, 15 insertions(+), 275 deletions(-)
diff --git a/Sources/SparkConnect/base.grpc.swift
b/Sources/SparkConnect/base.grpc.swift
index 6c4d06d..7839a6c 100644
--- a/Sources/SparkConnect/base.grpc.swift
+++ b/Sources/SparkConnect/base.grpc.swift
@@ -31,6 +31,7 @@ import SwiftProtobuf
// MARK: - spark.connect.SparkConnectService
/// Namespace containing generated types for the
"spark.connect.SparkConnectService" service.
+@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
internal enum Spark_Connect_SparkConnectService {
/// Service descriptor for the "spark.connect.SparkConnectService" service.
internal static let descriptor =
GRPCCore.ServiceDescriptor(fullyQualifiedService:
"spark.connect.SparkConnectService")
@@ -172,6 +173,7 @@ internal enum Spark_Connect_SparkConnectService {
}
}
+@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
extension GRPCCore.ServiceDescriptor {
/// Service descriptor for the "spark.connect.SparkConnectService" service.
internal static let spark_connect_SparkConnectService =
GRPCCore.ServiceDescriptor(fullyQualifiedService:
"spark.connect.SparkConnectService")
@@ -179,6 +181,7 @@ extension GRPCCore.ServiceDescriptor {
// MARK: spark.connect.SparkConnectService (server)
+@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
extension Spark_Connect_SparkConnectService {
/// Streaming variant of the service protocol for the
"spark.connect.SparkConnectService" service.
///
@@ -800,6 +803,7 @@ extension Spark_Connect_SparkConnectService {
}
// Default implementation of 'registerMethods(with:)'.
+@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
extension Spark_Connect_SparkConnectService.StreamingServiceProtocol {
internal func registerMethods<Transport>(with router: inout
GRPCCore.RPCRouter<Transport>) where Transport: GRPCCore.ServerTransport {
router.registerHandler(
@@ -916,6 +920,7 @@ extension
Spark_Connect_SparkConnectService.StreamingServiceProtocol {
}
// Default implementation of streaming methods from 'StreamingServiceProtocol'.
+@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
extension Spark_Connect_SparkConnectService.ServiceProtocol {
internal func executePlan(
request:
GRPCCore.StreamingServerRequest<Spark_Connect_ExecutePlanRequest>,
@@ -1029,6 +1034,7 @@ extension
Spark_Connect_SparkConnectService.ServiceProtocol {
}
// Default implementation of methods from 'ServiceProtocol'.
+@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
extension Spark_Connect_SparkConnectService.SimpleServiceProtocol {
internal func executePlan(
request: GRPCCore.ServerRequest<Spark_Connect_ExecutePlanRequest>,
@@ -1171,6 +1177,7 @@ extension
Spark_Connect_SparkConnectService.SimpleServiceProtocol {
// MARK: spark.connect.SparkConnectService (client)
+@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
extension Spark_Connect_SparkConnectService {
/// Generated client protocol for the "spark.connect.SparkConnectService"
service.
///
@@ -1795,6 +1802,7 @@ extension Spark_Connect_SparkConnectService {
}
// Helpers providing default arguments to 'ClientProtocol' methods.
+@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
extension Spark_Connect_SparkConnectService.ClientProtocol {
/// Call the "ExecutePlan" method.
///
@@ -2096,6 +2104,7 @@ extension
Spark_Connect_SparkConnectService.ClientProtocol {
}
// Helpers providing sugared APIs for 'ClientProtocol' methods.
+@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
extension Spark_Connect_SparkConnectService.ClientProtocol {
/// Call the "ExecutePlan" method.
///
diff --git a/Sources/SparkConnect/base.pb.swift
b/Sources/SparkConnect/base.pb.swift
index d41a9bc..c7c17df 100644
--- a/Sources/SparkConnect/base.pb.swift
+++ b/Sources/SparkConnect/base.pb.swift
@@ -3123,15 +3123,11 @@ extension Spark_Connect_AnalyzePlanRequest:
SwiftProtobuf.Message, SwiftProtobuf
var _clientType: String? = nil
var _analyze: Spark_Connect_AnalyzePlanRequest.OneOf_Analyze?
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -3751,15 +3747,11 @@ extension
Spark_Connect_AnalyzePlanRequest.SameSemantics: SwiftProtobuf.Message,
var _targetPlan: Spark_Connect_Plan? = nil
var _otherPlan: Spark_Connect_Plan? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -4766,15 +4758,11 @@ extension Spark_Connect_ExecutePlanRequest:
SwiftProtobuf.Message, SwiftProtobuf
var _requestOptions: [Spark_Connect_ExecutePlanRequest.RequestOption] = []
var _tags: [String] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
diff --git a/Sources/SparkConnect/commands.pb.swift
b/Sources/SparkConnect/commands.pb.swift
index 276dc01..83c90bc 100644
--- a/Sources/SparkConnect/commands.pb.swift
+++ b/Sources/SparkConnect/commands.pb.swift
@@ -2684,15 +2684,11 @@ extension Spark_Connect_WriteStreamOperationStart:
SwiftProtobuf.Message, SwiftP
var _foreachBatch: Spark_Connect_StreamingForeachFunction? = nil
var _clusteringColumnNames: [String] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
diff --git a/Sources/SparkConnect/expressions.pb.swift
b/Sources/SparkConnect/expressions.pb.swift
index 33a2cad..9dd10fe 100644
--- a/Sources/SparkConnect/expressions.pb.swift
+++ b/Sources/SparkConnect/expressions.pb.swift
@@ -1887,15 +1887,11 @@ extension Spark_Connect_Expression:
SwiftProtobuf.Message, SwiftProtobuf._Messag
var _common: Spark_Connect_ExpressionCommon? = nil
var _exprType: Spark_Connect_Expression.OneOf_ExprType?
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -2334,15 +2330,11 @@ extension Spark_Connect_Expression.Window:
SwiftProtobuf.Message, SwiftProtobuf.
var _orderSpec: [Spark_Connect_Expression.SortOrder] = []
var _frameSpec: Spark_Connect_Expression.Window.WindowFrame? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -2432,15 +2424,11 @@ extension Spark_Connect_Expression.Window.WindowFrame:
SwiftProtobuf.Message, Sw
var _lower: Spark_Connect_Expression.Window.WindowFrame.FrameBoundary? =
nil
var _upper: Spark_Connect_Expression.Window.WindowFrame.FrameBoundary? =
nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -2530,15 +2518,11 @@ extension
Spark_Connect_Expression.Window.WindowFrame.FrameBoundary: SwiftProtob
fileprivate class _StorageClass {
var _boundary:
Spark_Connect_Expression.Window.WindowFrame.FrameBoundary.OneOf_Boundary?
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -2650,15 +2634,11 @@ extension Spark_Connect_Expression.SortOrder:
SwiftProtobuf.Message, SwiftProtob
var _direction: Spark_Connect_Expression.SortOrder.SortDirection =
.unspecified
var _nullOrdering: Spark_Connect_Expression.SortOrder.NullOrdering =
.sortNullsUnspecified
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -2759,15 +2739,11 @@ extension Spark_Connect_Expression.Cast:
SwiftProtobuf.Message, SwiftProtobuf._M
var _castToType: Spark_Connect_Expression.Cast.OneOf_CastToType?
var _evalMode: Spark_Connect_Expression.Cast.EvalMode = .unspecified
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -3824,15 +3800,11 @@ extension
Spark_Connect_Expression.UnresolvedExtractValue: SwiftProtobuf.Message
var _child: Spark_Connect_Expression? = nil
var _extraction: Spark_Connect_Expression? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -3910,15 +3882,11 @@ extension Spark_Connect_Expression.UpdateFields:
SwiftProtobuf.Message, SwiftPro
var _fieldName: String = String()
var _valueExpression: Spark_Connect_Expression? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -4002,15 +3970,11 @@ extension Spark_Connect_Expression.Alias:
SwiftProtobuf.Message, SwiftProtobuf._
var _name: [String] = []
var _metadata: String? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -4092,15 +4056,11 @@ extension Spark_Connect_Expression.LambdaFunction:
SwiftProtobuf.Message, SwiftP
var _function: Spark_Connect_Expression? = nil
var _arguments: [Spark_Connect_Expression.UnresolvedNamedLambdaVariable] =
[]
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -4598,15 +4558,11 @@ extension Spark_Connect_NamedArgumentExpression:
SwiftProtobuf.Message, SwiftPro
var _key: String = String()
var _value: Spark_Connect_Expression? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -4684,15 +4640,11 @@ extension Spark_Connect_MergeAction:
SwiftProtobuf.Message, SwiftProtobuf._Messa
var _condition: Spark_Connect_Expression? = nil
var _assignments: [Spark_Connect_MergeAction.Assignment] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
diff --git a/Sources/SparkConnect/relations.pb.swift
b/Sources/SparkConnect/relations.pb.swift
index a438ed2..24cad82 100644
--- a/Sources/SparkConnect/relations.pb.swift
+++ b/Sources/SparkConnect/relations.pb.swift
@@ -3704,15 +3704,11 @@ extension Spark_Connect_Relation:
SwiftProtobuf.Message, SwiftProtobuf._MessageI
var _common: Spark_Connect_RelationCommon? = nil
var _relType: Spark_Connect_Relation.OneOf_RelType?
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -4772,15 +4768,11 @@ extension Spark_Connect_MlRelation:
SwiftProtobuf.Message, SwiftProtobuf._Messag
fileprivate class _StorageClass {
var _mlType: Spark_Connect_MlRelation.OneOf_MlType?
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -4886,15 +4878,11 @@ extension Spark_Connect_MlRelation.Transform:
SwiftProtobuf.Message, SwiftProtob
var _input: Spark_Connect_Relation? = nil
var _params: Spark_Connect_MlParams? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -5282,15 +5270,11 @@ extension Spark_Connect_WithRelations:
SwiftProtobuf.Message, SwiftProtobuf._Mes
var _root: Spark_Connect_Relation? = nil
var _references: [Spark_Connect_Relation] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -5540,15 +5524,11 @@ extension Spark_Connect_Project: SwiftProtobuf.Message,
SwiftProtobuf._MessageIm
var _input: Spark_Connect_Relation? = nil
var _expressions: [Spark_Connect_Expression] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -5624,15 +5604,11 @@ extension Spark_Connect_Filter: SwiftProtobuf.Message,
SwiftProtobuf._MessageImp
var _input: Spark_Connect_Relation? = nil
var _condition: Spark_Connect_Expression? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -5716,15 +5692,11 @@ extension Spark_Connect_Join: SwiftProtobuf.Message,
SwiftProtobuf._MessageImple
var _usingColumns: [String] = []
var _joinDataType: Spark_Connect_Join.JoinDataType? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -5883,15 +5855,11 @@ extension Spark_Connect_SetOperation:
SwiftProtobuf.Message, SwiftProtobuf._Mess
var _byName: Bool? = nil
var _allowMissingColumns: Bool? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -6000,15 +5968,11 @@ extension Spark_Connect_Limit: SwiftProtobuf.Message,
SwiftProtobuf._MessageImpl
var _input: Spark_Connect_Relation? = nil
var _limit: Int32 = 0
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -6084,15 +6048,11 @@ extension Spark_Connect_Offset: SwiftProtobuf.Message,
SwiftProtobuf._MessageImp
var _input: Spark_Connect_Relation? = nil
var _offset: Int32 = 0
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -6168,15 +6128,11 @@ extension Spark_Connect_Tail: SwiftProtobuf.Message,
SwiftProtobuf._MessageImple
var _input: Spark_Connect_Relation? = nil
var _limit: Int32 = 0
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -6260,15 +6216,11 @@ extension Spark_Connect_Aggregate:
SwiftProtobuf.Message, SwiftProtobuf._Message
var _pivot: Spark_Connect_Aggregate.Pivot? = nil
var _groupingSets: [Spark_Connect_Aggregate.GroupingSets] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -6455,15 +6407,11 @@ extension Spark_Connect_Sort: SwiftProtobuf.Message,
SwiftProtobuf._MessageImple
var _order: [Spark_Connect_Expression.SortOrder] = []
var _isGlobal: Bool? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -6547,15 +6495,11 @@ extension Spark_Connect_Drop: SwiftProtobuf.Message,
SwiftProtobuf._MessageImple
var _columns: [Spark_Connect_Expression] = []
var _columnNames: [String] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -6641,15 +6585,11 @@ extension Spark_Connect_Deduplicate:
SwiftProtobuf.Message, SwiftProtobuf._Messa
var _allColumnsAsKeys: Bool? = nil
var _withinWatermark: Bool? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -6770,9 +6710,12 @@ extension Spark_Connect_LocalRelation:
SwiftProtobuf.Message, SwiftProtobuf._Mes
extension Spark_Connect_CachedLocalRelation: SwiftProtobuf.Message,
SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
static let protoMessageName: String = _protobuf_package +
".CachedLocalRelation"
- static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
- 3: .same(proto: "hash"),
- ]
+ static let _protobuf_nameMap = SwiftProtobuf._NameMap(
+ reservedNames: ["userId", "sessionId"],
+ reservedRanges: [1..<3],
+ numberNameMappings: [
+ 3: .same(proto: "hash"),
+ ])
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D)
throws {
while let fieldNumber = try decoder.nextFieldNumber() {
@@ -6851,15 +6794,11 @@ extension Spark_Connect_Sample: SwiftProtobuf.Message,
SwiftProtobuf._MessageImp
var _seed: Int64? = nil
var _deterministicOrder: Bool = false
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -7015,15 +6954,11 @@ extension Spark_Connect_SubqueryAlias:
SwiftProtobuf.Message, SwiftProtobuf._Mes
var _alias: String = String()
var _qualifier: [String] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -7107,15 +7042,11 @@ extension Spark_Connect_Repartition:
SwiftProtobuf.Message, SwiftProtobuf._Messa
var _numPartitions: Int32 = 0
var _shuffle: Bool? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -7201,15 +7132,11 @@ extension Spark_Connect_ShowString:
SwiftProtobuf.Message, SwiftProtobuf._Messag
var _truncate: Int32 = 0
var _vertical: Bool = false
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -7299,15 +7226,11 @@ extension Spark_Connect_HtmlString:
SwiftProtobuf.Message, SwiftProtobuf._Messag
var _numRows: Int32 = 0
var _truncate: Int32 = 0
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -7389,15 +7312,11 @@ extension Spark_Connect_StatSummary:
SwiftProtobuf.Message, SwiftProtobuf._Messa
var _input: Spark_Connect_Relation? = nil
var _statistics: [String] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -7473,15 +7392,11 @@ extension Spark_Connect_StatDescribe:
SwiftProtobuf.Message, SwiftProtobuf._Mess
var _input: Spark_Connect_Relation? = nil
var _cols: [String] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -7559,15 +7474,11 @@ extension Spark_Connect_StatCrosstab:
SwiftProtobuf.Message, SwiftProtobuf._Mess
var _col1: String = String()
var _col2: String = String()
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -7651,15 +7562,11 @@ extension Spark_Connect_StatCov: SwiftProtobuf.Message,
SwiftProtobuf._MessageIm
var _col1: String = String()
var _col2: String = String()
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -7745,15 +7652,11 @@ extension Spark_Connect_StatCorr:
SwiftProtobuf.Message, SwiftProtobuf._MessageI
var _col2: String = String()
var _method: String? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -7845,15 +7748,11 @@ extension Spark_Connect_StatApproxQuantile:
SwiftProtobuf.Message, SwiftProtobuf
var _probabilities: [Double] = []
var _relativeError: Double = 0
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -7943,15 +7842,11 @@ extension Spark_Connect_StatFreqItems:
SwiftProtobuf.Message, SwiftProtobuf._Mes
var _cols: [String] = []
var _support: Double? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -8037,15 +7932,11 @@ extension Spark_Connect_StatSampleBy:
SwiftProtobuf.Message, SwiftProtobuf._Mess
var _fractions: [Spark_Connect_StatSampleBy.Fraction] = []
var _seed: Int64? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -8177,15 +8068,11 @@ extension Spark_Connect_NAFill: SwiftProtobuf.Message,
SwiftProtobuf._MessageImp
var _cols: [String] = []
var _values: [Spark_Connect_Expression.Literal] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -8269,15 +8156,11 @@ extension Spark_Connect_NADrop: SwiftProtobuf.Message,
SwiftProtobuf._MessageImp
var _cols: [String] = []
var _minNonNulls: Int32? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -8361,15 +8244,11 @@ extension Spark_Connect_NAReplace:
SwiftProtobuf.Message, SwiftProtobuf._Message
var _cols: [String] = []
var _replacements: [Spark_Connect_NAReplace.Replacement] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -8493,15 +8372,11 @@ extension Spark_Connect_ToDF: SwiftProtobuf.Message,
SwiftProtobuf._MessageImple
var _input: Spark_Connect_Relation? = nil
var _columnNames: [String] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -8579,15 +8454,11 @@ extension Spark_Connect_WithColumnsRenamed:
SwiftProtobuf.Message, SwiftProtobuf
var _renameColumnsMap: Dictionary<String,String> = [:]
var _renames: [Spark_Connect_WithColumnsRenamed.Rename] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -8707,15 +8578,11 @@ extension Spark_Connect_WithColumns:
SwiftProtobuf.Message, SwiftProtobuf._Messa
var _input: Spark_Connect_Relation? = nil
var _aliases: [Spark_Connect_Expression.Alias] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -8793,15 +8660,11 @@ extension Spark_Connect_WithWatermark:
SwiftProtobuf.Message, SwiftProtobuf._Mes
var _eventTime: String = String()
var _delayThreshold: String = String()
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -8885,15 +8748,11 @@ extension Spark_Connect_Hint: SwiftProtobuf.Message,
SwiftProtobuf._MessageImple
var _name: String = String()
var _parameters: [Spark_Connect_Expression] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -8981,15 +8840,11 @@ extension Spark_Connect_Unpivot: SwiftProtobuf.Message,
SwiftProtobuf._MessageIm
var _variableColumnName: String = String()
var _valueColumnName: String = String()
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -9115,15 +8970,11 @@ extension Spark_Connect_Transpose:
SwiftProtobuf.Message, SwiftProtobuf._Message
var _input: Spark_Connect_Relation? = nil
var _indexColumns: [Spark_Connect_Expression] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -9237,15 +9088,11 @@ extension Spark_Connect_ToSchema:
SwiftProtobuf.Message, SwiftProtobuf._MessageI
var _input: Spark_Connect_Relation? = nil
var _schema: Spark_Connect_DataType? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -9323,15 +9170,11 @@ extension Spark_Connect_RepartitionByExpression:
SwiftProtobuf.Message, SwiftPro
var _partitionExprs: [Spark_Connect_Expression] = []
var _numPartitions: Int32? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -9417,15 +9260,11 @@ extension Spark_Connect_MapPartitions:
SwiftProtobuf.Message, SwiftProtobuf._Mes
var _isBarrier: Bool? = nil
var _profileID: Int32? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -9529,15 +9368,11 @@ extension Spark_Connect_GroupMap:
SwiftProtobuf.Message, SwiftProtobuf._MessageI
var _timeoutConf: String? = nil
var _stateSchema: Spark_Connect_DataType? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -9671,15 +9506,11 @@ extension Spark_Connect_CoGroupMap:
SwiftProtobuf.Message, SwiftProtobuf._Messag
var _inputSortingExpressions: [Spark_Connect_Expression] = []
var _otherSortingExpressions: [Spark_Connect_Expression] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -9795,15 +9626,11 @@ extension Spark_Connect_ApplyInPandasWithState:
SwiftProtobuf.Message, SwiftProt
var _outputMode: String = String()
var _timeoutConf: String = String()
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -10123,15 +9950,11 @@ extension Spark_Connect_CollectMetrics:
SwiftProtobuf.Message, SwiftProtobuf._Me
var _name: String = String()
var _metrics: [Spark_Connect_Expression] = []
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -10217,15 +10040,11 @@ extension Spark_Connect_Parse: SwiftProtobuf.Message,
SwiftProtobuf._MessageImpl
var _schema: Spark_Connect_DataType? = nil
var _options: Dictionary<String,String> = [:]
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -10337,15 +10156,11 @@ extension Spark_Connect_AsOfJoin:
SwiftProtobuf.Message, SwiftProtobuf._MessageI
var _allowExactMatches: Bool = false
var _direction: String = String()
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -10473,15 +10288,11 @@ extension Spark_Connect_LateralJoin:
SwiftProtobuf.Message, SwiftProtobuf._Messa
var _joinCondition: Spark_Connect_Expression? = nil
var _joinType: Spark_Connect_Join.JoinType = .unspecified
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
diff --git a/Sources/SparkConnect/types.pb.swift
b/Sources/SparkConnect/types.pb.swift
index 3b0acd1..4c0b0fa 100644
--- a/Sources/SparkConnect/types.pb.swift
+++ b/Sources/SparkConnect/types.pb.swift
@@ -835,15 +835,11 @@ extension Spark_Connect_DataType: SwiftProtobuf.Message,
SwiftProtobuf._MessageI
fileprivate class _StorageClass {
var _kind: Spark_Connect_DataType.OneOf_Kind?
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -2105,15 +2101,11 @@ extension Spark_Connect_DataType.Array:
SwiftProtobuf.Message, SwiftProtobuf._Me
var _containsNull: Bool = false
var _typeVariationReference: UInt32 = 0
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -2199,15 +2191,11 @@ extension Spark_Connect_DataType.Map:
SwiftProtobuf.Message, SwiftProtobuf._Mess
var _valueContainsNull: Bool = false
var _typeVariationReference: UInt32 = 0
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
@@ -2333,15 +2321,11 @@ extension Spark_Connect_DataType.UDT:
SwiftProtobuf.Message, SwiftProtobuf._Mess
var _serializedPythonClass: String? = nil
var _sqlType: Spark_Connect_DataType? = nil
- #if swift(>=5.10)
// This property is used as the initial default value for new instances
of the type.
// The type itself is protecting the reference to its storage via CoW
semantics.
// This will force a copy to be made of this reference when the first
mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
- #else
- static let defaultInstance = _StorageClass()
- #endif
private init() {}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]