Commit 9c63317
committed
[SPARK-52183] Update
### What changes were proposed in this pull request?
This PR aims to update `SparkSQLRepl` example to show up to 10k rows.
### Why are the changes needed?
Currently, `SparkSQLRepl` uses the `show()` with the default parameters. Although we cannot handle large-numbers of rows due to `grpc_max_message_size`, we had better have more reasonable default value.
```SQL
spark-sql (default)> SELECT * FROM RANGE(21);
+---+
| id|
+---+
| 0|
|...|
| 19|
+---+
only showing top 20 rows
Time taken: 118 ms
```
### Does this PR introduce _any_ user-facing change?
This is an example.
### How was this patch tested?
Manual test.
```SQL
$ swift run
spark-sql (default)> SELECT * FROM RANGE(10001);
...
only showing top 10000 rows
Time taken: 142 ms
```
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes apache#159 from dongjoon-hyun/SPARK-52183.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>SparkSQLRepl example to show up to 10k rows1 parent e346c9e commit 9c63317
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments