diff --git a/Sources/SparkConnect/DataFrame.swift b/Sources/SparkConnect/DataFrame.swift index 266963f..f595d96 100644 --- a/Sources/SparkConnect/DataFrame.swift +++ b/Sources/SparkConnect/DataFrame.swift @@ -279,7 +279,7 @@ public actor DataFrame: Sendable { try await withGRPCClient( transport: .http2NIOPosix( target: .dns(host: spark.client.host, port: spark.client.port), - transportSecurity: .plaintext + transportSecurity: spark.client.transportSecurity ), interceptors: spark.client.getIntercepters() ) { client in