From 6c0ff80bc55645b1ddbc751bdd3cd348552ca02e Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Thu, 15 May 2025 22:25:45 -0700 Subject: [PATCH] [SPARK-52183] Update `SparkSQLRepl` example to show up to 10k rows --- Sources/SparkSQLRepl/main.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SparkSQLRepl/main.swift b/Sources/SparkSQLRepl/main.swift index 6c45ae0..a5c6c5d 100644 --- a/Sources/SparkSQLRepl/main.swift +++ b/Sources/SparkSQLRepl/main.swift @@ -46,7 +46,7 @@ while isRunning { break default: do { - try await spark.time(spark.sql(String(match.1)).show) + try await spark.time({ try await spark.sql(String(match.1)).show(10000, false) }) } catch { print("Error: \(error)") }