jiayuasu opened a new pull request, #1041: URL: https://github.com/apache/sedona/pull/1041
## Did you read the Contributor Guide? - Yes, I have read [Contributor Rules](https://sedona.apache.org/latest-snapshot/community/rule/) and [Contributor Development Guide](https://sedona.apache.org/latest-snapshot/community/develop/) ## Is this PR related to a JIRA ticket? - Yes, the URL of the associated JIRA ticket is https://issues.apache.org/jira/browse/SEDONA-405. The PR name follows the format `[SEDONA-405] my subject`. ## What changes were proposed in this PR? 1. Introduce the Sedona debug mode via SedonaConf. The debug mode is disabled by default. 2. Spatial join metrics will only be measured when debug mode is enabled. This should significantly reduce the Sedona driver program memory overhead for both RDD-based join and SQL-based join ## How was this patch tested? Passed existing tests. ## Did this PR include necessary documentation updates? - Yes, I have updated the documentation update. -- 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: dev-unsubscr...@sedona.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org