From 30e8a968ecd1f85b8d477413241b6cc704c92300 Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Wed, 19 Mar 2025 12:19:52 -0700 Subject: [PATCH] [MINOR] Remove build warning on `try` expression in `SparkSession` --- Sources/SparkConnect/SparkSession.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SparkConnect/SparkSession.swift b/Sources/SparkConnect/SparkSession.swift index 660a70a..e68deef 100644 --- a/Sources/SparkConnect/SparkSession.swift +++ b/Sources/SparkConnect/SparkSession.swift @@ -106,7 +106,7 @@ public actor SparkSession { /// - step: A value for the step. /// - Returns: A ``DataFrame`` instance. public func range(_ start: Int64, _ end: Int64, _ step: Int64 = 1) async throws -> DataFrame { - return try await DataFrame(spark: self, plan: client.getPlanRange(start, end, step)) + return await DataFrame(spark: self, plan: client.getPlanRange(start, end, step)) } /// Create a ``DataFrame`` for the given SQL statement.