uros-db commented on code in PR #52858:
URL: https://github.com/apache/spark/pull/52858#discussion_r2491811917
##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/util/StUtilsSuite.java:
##########
@@ -110,4 +111,49 @@ void testStSridGeometry() {
assertEquals(testGeometrySrid, STUtils.stSrid(geometryVal));
}
+ // ST_SetSrid
+ @Test
+ void testStSetSridGeography() {
+ for (int validGeographySrid : new int[]{4326}) {
Review Comment:
We don't have a single constant, but there is a mapper with methods that
will tell you whether an SRID is valid or not. However, we purposefully put
hardcoded SRID integer values here for testing purposes.
--
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]