File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments