Skip to main content

DROP SPATIAL INDEX

Removes a spatial index in Databend.

Syntax

DROP SPATIAL INDEX [IF EXISTS] <index> ON [<database>.]<table>

Examples

CREATE TABLE stores (
store_id INT,
store_name STRING,
location GEOMETRY,
SPATIAL INDEX location_idx (location)
) ENGINE = FUSE;

DROP SPATIAL INDEX location_idx ON stores;
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today