petern48 commented on issue #155:
URL: https://github.com/apache/sedona-db/issues/155#issuecomment-3339328238

   @jesspav I took a quick peek before you assigned yourself. We just need to 
handle nulls explicitly before the geom_geog check here.
   
   
https://github.com/apache/sedona-db/blob/2df1f7368201e4dbc874aa22324f91f5417337e0/rust/sedona-functions/src/st_setsrid.rs#L194-L201
   
   Something like this. Though I'm not sure if the Arrow Null return type is 
correct (like maybe there's a wkb null).
   ```rust
       if ArgMatcher::is_null().match_type(&args[0]) {
           return Ok(Some(SedonaType::Arrow(DataType::Null)));
       }
   ```


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