Skip to content

Commit 30e8a96

Browse files
committed
[MINOR] Remove build warning on try expression in SparkSession
1 parent c7ef15f commit 30e8a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SparkConnect/SparkSession.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public actor SparkSession {
106106
/// - step: A value for the step.
107107
/// - Returns: A ``DataFrame`` instance.
108108
public func range(_ start: Int64, _ end: Int64, _ step: Int64 = 1) async throws -> DataFrame {
109-
return try await DataFrame(spark: self, plan: client.getPlanRange(start, end, step))
109+
return await DataFrame(spark: self, plan: client.getPlanRange(start, end, step))
110110
}
111111

112112
/// Create a ``DataFrame`` for the given SQL statement.

0 commit comments

Comments
 (0)