You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of the relationship tests functions fail with NPE when input is a geometry collection.
The following functions are affected: ST_Contains, ST_Crosses, ST_Disjoint, ST_Equals, ST_Intersects, ST_Overlaps, ST_Touches and ST_Within.
presto> select ST_Contains(ST_GeometryFromText('GEOMETRYCOLLECTION (POINT (1 2), LINESTRING (8 4, 5 7))'), ST_Point(1, 2));
java.lang.NullPointerException
at com.esri.core.geometry.RelationalOperations.relate(RelationalOperations.java:44)
at com.esri.core.geometry.OperatorContainsLocal.execute(OperatorContainsLocal.java:31)
at com.esri.core.geometry.GeometryEngine.contains(GeometryEngine.java:479)
at com.esri.core.geometry.ogc.OGCGeometry.contains(OGCGeometry.java:305)
at com.facebook.presto.plugin.geospatial.GeoFunctions.stContains(GeoFunctions.java:743)
All of the relationship tests functions fail with NPE when input is a geometry collection.
The following functions are affected: ST_Contains, ST_Crosses, ST_Disjoint, ST_Equals, ST_Intersects, ST_Overlaps, ST_Touches and ST_Within.
See Esri/geometry-api-java#176 for the issue in the underlying library.
The text was updated successfully, but these errors were encountered: