You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-51853] Improve DataFrame.show API to support all signatures
### What changes were proposed in this pull request?
This PR improve `show` API to support all nine signatures.
### Why are the changes needed?
Previously, we only support `show()` with no argument (1 function signature). After this PR, the following nine signatures will be supported.
```swift
spark.range(1000).show()
spark.range(1000).show(1)
spark.range(1000).show(true)
spark.range(1000).show(false)
spark.range(1000).show(1, true)
spark.range(1000).show(1, false)
spark.range(1000).show(1, 20)
spark.range(1000).show(1, 20, true)
spark.range(1000).show(1, 20, false)
```
### Does this PR introduce _any_ user-facing change?
No. This is a new addition to `show` API.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes#75 from dongjoon-hyun/SPARK-51853.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
0 commit comments