spatial key fix for null geometries#391
Conversation
|
@nicolas-f care to look at this? |
|
Please observe how the edited TestSpatial fails without the changes in SpatialDataType. A larger table is required to reveal this error. See above mentioned thread |
|
Hi, May be we have to update again the evaluation of spatial index cost here: |
|
Hi @nicolas-f However, the cost calculation you've mentioned does not seem to be an issue here(see below), BUT both the Please have a look at the updated MVTable, where null spatial keys for add and remove are ignored. It works on your TestSpatial unittest as well as on out local stresstests. As for the query costs, they seem to be calculated when a SELECT by Geometry is performed. And null geometries won't be queried by this anyway. What do you think? |
|
Nice ! well done. Thank you 👍 |
this is the fix I suggested in the thread
https://groups.google.com/forum/#!topic/h2-database/S2H67G6BHPg