uros-db commented on code in PR #52813:
URL: https://github.com/apache/spark/pull/52813#discussion_r2483327474


##########
sql/api/src/main/scala/org/apache/spark/sql/types/GeographyType.scala:
##########
@@ -133,6 +133,30 @@ class GeographyType private (val crs: String, val 
algorithm: EdgeInterpolationAl
     // If the SRID is not mixed, we can only accept the same SRID.
     isMixedSrid || gt.srid == srid
   }
+
+  def assertSridAllowedForType(otherSrid: Int): Unit = {

Review Comment:
   Let's address `isMixedSrid` / `srid` separately, because it has nothing to 
do with this PR.



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