jiayuasu opened a new pull request, #2510: URL: https://github.com/apache/sedona/pull/2510
## Did you read the Contributor Guide? - Yes, I have read the [Contributor Rules](https://sedona.apache.org/latest/community/rule/) and [Contributor Development Guide](https://sedona.apache.org/latest/community/develop/) - No, I haven't read it. ## Is this PR related to a ticket? - Yes, and the PR name follows the format `[GH-XXX] my subject`. Closes #2509 ## What changes were proposed in this PR? This pull request updates the Flink and Java Spark SQL example projects with newer dependencies, improved build and test configurations, and automated testing. The changes improve compatibility, streamline CI, and enhance maintainability. Dependency and Build Updates • Updated the Java Spark SQL example to Sedona 1.8.0, Spark 4.0.1, updated JUnit and Maven plugins, and switched to the correct shaded artifact. • Changed the Flink dependency scope to provided to reflect runtime needs. Testing and CI • Updated the GitHub Actions workflow to run mvn clean test, removed unused JVM options, and split Spark and Flink example tests into separate steps. • Added FlinkFunctionsTest.java to automatically verify spatial join behavior on datasets of different sizes. Build Tooling • Added Spotless to the Flink SQL example for formatting and license enforcement. • Added Surefire configuration with required JVM options. Code Quality • Refactored FlinkExample.java and Utils.java for clearer structure, consistent formatting, and easier testing. ## How was this patch tested? ## Did this PR include necessary documentation updates? - No, this PR does not affect any public API so no need to change the documentation. -- 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]
