jiayuasu commented on code in PR #2661:
URL: https://github.com/apache/sedona/pull/2661#discussion_r2825952353


##########
spark/common/src/main/scala/org/apache/spark/sql/execution/datasources/geoparquet/GeoParquetRowConverter.scala:
##########
@@ -233,6 +235,8 @@ private[geoparquet] class GeoParquetRowConverter(
                 val wkbReader = new WKBReader()
                 val byteArray = currentArray.map(_.asInstanceOf[Byte]).toArray
                 val geom = wkbReader.read(byteArray)
+                val srid = schemaConverter.getSrid(parquetType.getName)
+                geom.setSRID(srid)
                 this.updater.set(GeometryUDT.serialize(geom))

Review Comment:
   fixed



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