cloud-fan commented on code in PR #54325:
URL: https://github.com/apache/spark/pull/54325#discussion_r2813395662
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/HiveResult.scala:
##########
@@ -149,6 +149,14 @@ object HiveResult extends SQLConfHelper {
startField,
endField)
case (v: VariantVal, VariantType) => v.toString
+ case (g: Geometry, dt: GeometryType) =>
+ val internalGeom = STUtils.serializeGeomFromWKB(g, dt)
+ val s = STUtils.stAsEwkt(internalGeom).toString
+ if (nested) "\"" + s + "\"" else s
Review Comment:
not related to this PR, but seems we forget to do the same for VariantType
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]