zhangfengcdt opened a new issue, #2072:
URL: https://github.com/apache/sedona/issues/2072
It looks like StructuredAdapter toSpatialRdd only works with Point data in
the RangeQuery on the Rdd converted this way. For other types, it throws errors.
scala.MatchError:
[0,3,2000000022,4800000060,284e4f47594c4f50,2033202c32203228,202c332033202c32,322032202c332032,2929,500000032,4000000000000000,4000000000000000,4008000000000000,4000000000000000,4008000000000000,4008000000000000,4000000000000000,4008000000000000,4000000000000000,4000000000000000,500000001]
(of class org.apache.spark.sql.catalyst.expressions.UnsafeRow)
at
org.apache.sedona.python.wrapper.utils.implicits$GeometryEnhancer.userDataToUtf8ByteArray(implicits.scala:52)
This issue was found during work on
https://github.com/apache/sedona/pull/2067
--
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]