You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by GitBox <gi...@apache.org> on 2022/04/20 21:43:54 UTC

[GitHub] [incubator-sedona] pavan02 commented on a diff in pull request #613: [SEDONA-112] Add ST_AsEWKT

pavan02 commented on code in PR #613:
URL: https://github.com/apache/incubator-sedona/pull/613#discussion_r854578049


##########
flink/src/test/java/org/apache/sedona/flink/FunctionTest.java:
##########
@@ -73,10 +73,23 @@ public void testPointOnSurface() {
         assertEquals("POINT (32 -118)", result.toString());
     }
 
+    @Test
     public void testReverse() {
         Table polygonTable = createPolygonTable(1);
         Table ReversedTable = polygonTable.select(call(Functions.ST_Reverse.class.getSimpleName(), $(polygonColNames[0])));
         Geometry result = (Geometry) first(ReversedTable).getField(0);
         assertEquals("POLYGON ((-0.5 -0.5, 0.5 -0.5, 0.5 0.5, -0.5 0.5, -0.5 -0.5))", result.toString());
     }
+
+    /* ST_SetSrid Has not been implemented in flink yet
+    @Test
+    public void testAsEWKT() {

Review Comment:
   Updated. Couldn't find a way to set SRID using flink methods. This test case tests scenario when SRID isn't present. Is that Okay ?



-- 
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: dev-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org