Skip to content

Commit ab8f43e

Browse files
committed
Address comment
1 parent 0090672 commit ab8f43e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SparkConnect/SparkSession.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public actor SparkSession {
116116
/// result as a `DataFrame`.
117117
/// - Parameters:
118118
/// - sqlText: A SQL statement with positional parameters to execute.
119-
/// - args: An array of strings that can be converted to SQL literal expressions.
119+
/// - args: ``Sendable`` values that can be converted to SQL literal expressions.
120120
/// - Returns: A ``DataFrame``.
121121
public func sql(_ sqlText: String, _ args: Sendable...) async throws -> DataFrame {
122122
return try await DataFrame(spark: self, sqlText: sqlText, args)
@@ -126,7 +126,7 @@ public actor SparkSession {
126126
/// result as a `DataFrame`.
127127
/// - Parameters:
128128
/// - sqlText: A SQL statement with named parameters to execute.
129-
/// - args: A dictionary with key string and values.
129+
/// - args: A dictionary with key string and ``Sendable`` value.
130130
/// - Returns: A ``DataFrame``.
131131
public func sql(_ sqlText: String, args: [String: Sendable]) async throws -> DataFrame {
132132
return try await DataFrame(spark: self, sqlText: sqlText, args)

0 commit comments

Comments
 (0)