pwrliang opened a new pull request, #766:
URL: https://github.com/apache/sedona-db/pull/766

   We have provided a method (https://github.com/apache/sedona-db/pull/722) 
`with_spatial_join_provider` to overwrite the `DefaultSpatialJoinProvider` with 
a customized one by calling `with_spatial_join_provider` of`SpatialJoinExec`.
   ```rust
       pub fn with_spatial_join_provider(
           mut self,
           join_provider: Arc<dyn SpatialJoinProvider>,
       ) -> Self {
           self.join_provider = join_provider;
           self
       }
   ```
   
   However, there are many methods in `SpatialJoinExec`, such as `swap_inputs`, 
that return a modified `SpatialJoinExec` by calling `try_new_internal`, which 
binds `join_provider` to `DefaultSpatialJoinProvider` again. We need to call 
`with_spatial_join_provider` after the returning of a `SpatialJoinExec` object 
to overwrite it.


-- 
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]

Reply via email to