jiayuasu commented on code in PR #905:
URL: https://github.com/apache/sedona/pull/905#discussion_r1265364148


##########
flink/src/test/java/org/apache/sedona/flink/AggregatorTest.java:
##########
@@ -55,6 +55,14 @@ public void testKNN() {
         assertEquals(5.656854249492381, last(resultTable).getField(0));
     }
 
+    @Test
+    public void testIntersection_Aggr(){
+        Table polygonTable = createPolygonOverlappingTable(testDataSize);
+        Table result = polygonTable.select(call("ST_Intersection_Aggr", 
$(polygonColNames[0])));
+        Row last = last(result);
+        assertEquals("LINESTRING EMPTY", last.getField(0).toString());

Review Comment:
   Please come up with a test case that generates a non-empty result. @yyy1000 



-- 
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-unsubscr...@sedona.apache.org

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

Reply via email to