Csaba Ringhofer created HIVE-29726:
--------------------------------------

             Summary: st_intersects incorrect with multlinestring
                 Key: HIVE-29726
                 URL: https://issues.apache.org/jira/browse/HIVE-29726
             Project: Hive
          Issue Type: Bug
            Reporter: Csaba Ringhofer


select st_intersects(st_geomfromtext('LINESTRING(0 0, 9 0, 0 9)'), 
st_geomfromtext('MULTILINESTRING((1 10, 2 10), (10 10, 10 1))'));

The query above returns true in Hive, while it should return false.
Cross checked with postgis, which returns false.
Discover this when testing Apache Impala's new c++ implementation that used 
boost::geometry, which also returns false. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to