duckdb / duckdb/duckdb-spatial
Error when loading a GeoJSON: error message references a non-existent *
- Dominant language
- C
- Stars
- 708
- Forks
- 96
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 5
Description
**Environment**
OS: [Windows 11]
DuckDB version: [e.g. v1.5.0]
**Describe the bug**
st_read fails to load a remote geojson.
The error message is not relevant, though the associated hint works.
**Minimal SQL or code to reproduce the issue:**
```
FROM st_read('https://object.data.gouv.fr/contours-administratifs/2025/geojson/departements-50m.geojson')
SELECT geom
WHERE code = '09';
Invalid Input Error:
Globs (`*`) for generic HTTP file is are not supported.
Consider `SET allow_asterisks_in_http_paths = true;` to allow this behaviour
```
**Expected behavior**
The geojson is loaded with st_read() without any special config option.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.