Details
Description
I don't have the details of error reported , but i remember server complaining about unique index
The workaround was to materialized the GEOM column not using virtual column :
alter table zip_all add column coord point not null
update zip_all set coord = POINT(lat,lon);
alter table zip_all_bis ADD SPATIAL INDEX(coord)
Thanks
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Can't create SPATIAL index on top of persistent virtual column? Or not persistent?