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
### What changes were proposed in this pull request?
This PR aims to add `pi` example.
### Why are the changes needed?
This is a Swift Pi example corresponding to `SparkDataFramePi.scala`.
- https://github.com/apache/spark/blob/master/examples/src/main/scala/org/apache/spark/examples/sql/SparkDataFramePi.scala
```
$ swift run SparkConnectSwiftPi 1000000
...
Connected to Apache Spark 4.0.0 Server
Pi is roughly 3.1423711423711422
```
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manual review.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closesapache#130 from dongjoon-hyun/SPARK-52073.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
0 commit comments