uros-db commented on code in PR #55631:
URL: https://github.com/apache/spark/pull/55631#discussion_r3200782557
##########
sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/util/STUtils.java:
##########
@@ -63,7 +67,7 @@ public static GeographyVal geometryToGeography(GeometryVal
geometryVal) {
}
// We also need to check whether the input geometry has coordinates in
geography bounds.
try {
- byte[] wkb = stAsBinary(geometryVal);
+ byte[] wkb = stAsBinary(geometryVal, ENDIANNESS_NDR);
Review Comment:
Simplified according to your suggestion, thanks!
--
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]