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


##########
sql/api/src/main/scala/org/apache/spark/sql/types/GeometryType.scala:
##########
@@ -179,6 +179,7 @@ object GeometryType extends SpatialType {
    * Constructors for GeometryType.
    */
   def apply(srid: Int): GeometryType = {
+    assertGeospatialEnabled()

Review Comment:
   This looks like it walks back a released, but experimental API which I don't 
love, and puts it behind a feature flag. If it's already experimental then why 
does it need a feature flag?



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