holdenk commented on code in PR #53009:
URL: https://github.com/apache/spark/pull/53009#discussion_r2529236637


##########
sql/api/src/main/scala/org/apache/spark/sql/catalyst/encoders/AgnosticEncoder.scala:
##########
@@ -279,9 +279,9 @@ object AgnosticEncoders {
     ScalaDecimalEncoder(DecimalType.SYSTEM_DEFAULT)
   val DEFAULT_JAVA_DECIMAL_ENCODER: JavaDecimalEncoder =
     JavaDecimalEncoder(DecimalType.SYSTEM_DEFAULT, lenientSerialization = 
false)
-  val DEFAULT_GEOMETRY_ENCODER: GeometryEncoder =
+  lazy val DEFAULT_GEOMETRY_ENCODER: GeometryEncoder =

Review Comment:
   Indeed, i think lazy val means it might not be changeable once we're running



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

Reply via email to