duckdb / duckdb/duckdb-sqlite

Getting error "PRAGMA table_info('SpatialIndex'): no such module: VirtualSpatialIndex" on unrelated querry

Open
#88 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
C
Stars
291
Forks
45
Avg merge
10h 13m
Merged PRs (30d)
18

Description

### What happens?

After attaching a SQLite db, whith tables created by Spatialite.
When running a querry, I'm getting the error `Invalid Error: Failed to prepare query "PRAGMA table_info('SpatialIndex')": no such module: VirtualSpatialIndex`.
Despite the querry not using the 'SpatialIndex' table.

This does not happen when opening the database directly.

The same error also happen with `.tables` and when querrying a table that does not exist.

### To Reproduce

## Create SQLite3 db
```shell
sqlite3 ducky.db <

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.