Bug #83892 | Spatial queries with multiple spatial predicates do not use spatial index | ||
---|---|---|---|
Submitted: | 19 Nov 2016 22:22 | Modified: | 9 Feb 2018 12:13 |
Reporter: | Nikolaos Priggouris | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: GIS | Severity: | S5 (Performance) |
Version: | 5.7.x | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | multiple spatial predicates, slow, spatial index |
[19 Nov 2016 22:22]
Nikolaos Priggouris
[19 Nov 2016 22:24]
Nikolaos Priggouris
spatial data table to be used for replicating the problem
Attachment: test_spatial.zip (application/zip, text), 2.31 MiB.
[21 Nov 2016 18:03]
MySQL Verification Team
Hi, I have downloaded your ZIP file and I have fed the .sql file into mysql client and got this error: ERROR 1416 (22003) at line 41: Cannot get geometry object from data you send to the GEOMETRY field Hence, your dump has an error in the GIS columns data.
[21 Nov 2016 22:04]
Nikolaos Priggouris
corrected spatial data table
Attachment: test_spatial.zip (application/zip, text), 2.57 MiB.
[21 Nov 2016 22:12]
Nikolaos Priggouris
Hi Sinisa, Sorry for the corrupted zip. I have uploaded a new one with the same name which should be OK (the problem was due to a mismatch in the geometry types since the exported data are of type polygon and not multipolygon)
[22 Nov 2016 18:59]
MySQL Verification Team
What you reported is quite true. I repeated your behavior. Hence, I verify this bug. However, since there is an easy workaround, this bug will get a low priority. The workaround is visible in the file that I am attaching. Verified.
[22 Nov 2016 19:03]
MySQL Verification Team
Results from the session in which I repeated the test case and provided an easy workaround.
Attachment: bug83892.txt (text/plain), 34.50 KiB.
[2 Nov 2017 14:16]
Norvald Ryeng
Posted by developer: Duplicate of bug#45776.
[9 Nov 2017 10:15]
Nikolaos Priggouris
Hi, Since this seems to be quite a long standing issue (based on the fact that it is somewhat duplicate of bug#45776) do we have an indication whether it is going to be fixed or not?
[9 Feb 2018 12:13]
Norvald Ryeng
Duplicate of bug#45776.