Skip to content

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Apr 21, 2025

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.

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.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-51853] Improve show to support all signatures [SPARK-51853] Improve DataFrame.show API to support all signatures Apr 21, 2025
@dongjoon-hyun
Copy link
Member Author

Let me merge this because this is an extension of the existing API.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-51853 branch April 21, 2025 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant