jiayuasu commented on code in PR #2223:
URL: https://github.com/apache/sedona/pull/2223#discussion_r2258261623
##########
spark/common/src/test/scala/org/apache/sedona/sql/constructorTestScala.scala:
##########
@@ -264,13 +264,13 @@ class constructorTestScala extends TestBaseScala {
assert(thrown.getMessage.contains("Unknown geometry type"))
}
- it("Passed ST_GeogFromWKT") {
- val wkt = "LINESTRING (1 2, 3 4, 5 6)"
- val row = sparkSession.sql(s"SELECT ST_GeogFromWKT('$wkt') AS
geog").first()
- val geog = row.get(0)
- assert(geog.isInstanceOf[Geography])
- assert(geog.asInstanceOf[Geography].getGeometry.toText == wkt)
- }
+// it("Passed ST_GeogFromWKT") {
+// val wkt = "LINESTRING (1 2, 3 4, 5 6)"
+// val row = sparkSession.sql(s"SELECT ST_GeogFromWKT('$wkt') AS
geog").first()
+// val geog = row.get(0)
+// assert(geog.isInstanceOf[Geography])
+// assert(geog.asInstanceOf[Geography].getGeographhy.toText == wkt)
Review Comment:
Please fix this.
--
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]