Open
Description
What happens?
Earlier DuckDB-WASM versions could successfully use the spatial
extension, including the ST_READ
method to read various geometry data formats. This no longer appears to work, as ST_READ
fails with an error.
To Reproduce
Here is a transcript from the online DuckDB-WASM shell:
duckdb> INSTALL spatial;
┌┐
└┘
duckdb> LOAD spatial;
┌┐
└┘
duckdb> CREATE TABLE nyc AS SELECT * FROM ST_READ(‘https://raw.githubusercontent.com/duckdb/duckdb-spatial/main/test/data/nyc_taxi/taxi_zones/taxi_zones.shp');
Invalid Error: [object WebAssembly.Exception]
I would expect the data to load. Instead, Invalid Error: [object WebAssembly.Exception]
occurs.
I have seen the same error with other files including GeoJSON and TopoJSON data. This is a breaker for adopting more recent dev versions of DuckDB-WASM; version 1.29.0 does not exhibit this error.
Thanks!
Browser/Environment:
Chrome, Firefox
Device:
MacBook
DuckDB-Wasm Version:
1.29.1-dev135.0
DuckDB-Wasm Deployment:
shell.duckdb.org
Full Name:
Jeffrey Heer
Affiliation:
University of Washington
Metadata
Metadata
Assignees
Labels
No labels