From b16471e5dbb63981031edb64406386e6a6f307b7 Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Fri, 9 May 2025 09:26:07 -0700 Subject: [PATCH] [SPARK-52059] Fix `DataFrame` to use SparkSession's `transportSecurity` --- Sources/SparkConnect/DataFrame.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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