Kontinuation opened a new pull request, #1518: URL: https://github.com/apache/sedona/pull/1518
## Did you read the Contributor Guide? - Yes, I have read the [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-624. The PR name follows the format `[SEDONA-XXX] my subject`. ## What changes were proposed in this PR? The query plan canonicalization phase creates temporary physical nodes whose attributes cannot be bound to relations, and then calls withNewChildren to replace the bad relations with the correct relations. `DistanceJoinExec` binds distance expression to the relation eagerly, which makes the physical node creation fail. We change the reference binding to be lazily evaluated to get rid of this problem. ## How was this patch tested? Add new tests that would fail without the fix. ## 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]
