EnricoMi opened a new pull request, #45664:
URL: https://github.com/apache/spark/pull/45664

   ### What changes were proposed in this pull request?
   - Make `SparkPi` example use Dataset API
   - Allow setting partition size
   - Print available options
   
   ### Why are the changes needed?
   1. The `SparkPi` example uses the RDD API, which does not show the "SQL / 
DataFrame" tab in the Spark UI.
   2. The partitions are very small (100k rows), which is not suitable to 
exemplify compute-expensive workload.
   
   ### Does this PR introduce _any_ user-facing change?
   Adds one option to the `SparkPi` example.
   
   ### How was this patch tested?
   Manually.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to