Imbruced commented on PR #460:
URL: https://github.com/apache/sedona-db/pull/460#issuecomment-3664012021

   > @Kontinuation SedonaSpark internal serialization is very similar to WKB. 
Is there a way that we can avoid unnecessary SerDe in the vectorized UDF?
   
   Yeah, it's similar, but in a few places it's different, and that's what this 
MR does: shuffles bytes to change the Sedona SerDe to WKB. So, for instance, I 
avoid reading coordinates to numbers but push bytes to a new array. IF there is 
a simpler way, that would be great. The difference I've seen is in 
multipolygon, polygon, multilinestring, where the metadata bytes (number of 
geometries, rings etc.) are at the end, and in the WKB in multilinestring, each 
point has complete wkb information of a linestirng like byteorder and wkb type


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