WangCHX commented on code in PR #8498:
URL: https://github.com/apache/pinot/pull/8498#discussion_r849305389
##########
pinot-core/src/test/java/org/apache/pinot/queries/H3IndexQueriesTest.java:
##########
@@ -210,11 +226,47 @@ public void testH3Index()
Assert.assertNotNull(aggregationResult);
Assert.assertEquals((long) aggregationResult.get(0), NUM_RECORDS);
}
+
+ // Test st contains in polygon
+ testQueryStContain("SELECT COUNT(*) FROM testTable WHERE
ST_Contains(ST_GeomFromText('POLYGON ((\n"
Review Comment:
The ST_Contains seems doesn't include the point or line lying in polygon
boundary. https://postgis.net/docs/ST_Contains.html
but let me try create a test with points very close to the boundary.
--
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]