duckdb / duckdb-wasm

WebAssembly version of DuckDB
https://shell.duckdb.org
MIT License
1.02k stars 110 forks source link

Error loading spatial extension in duckdb shell #1713

Closed kbatchu closed 2 months ago

kbatchu commented 2 months ago

What happens?

When I try to load the 'spatial' extension in the DuckDB shell, I get the following error message "Invalid Input Error: Initialization function "spatial_init" from file "https://extensions.duckdb.org/v0.10.2/wasm_eh/spatial.duckdb_extension.wasm" threw an exception: "/MAX/SUM/AVG/COUNT implementation"

To Reproduce

In the Duckdb shell i.e. https://shell.duckdb.org/, try to load the spatial extension.

Browser/Environment:

Microsoft Edge Version 123.0.2420.97

Device:

Windows desktop

DuckDB-Wasm Version:

duckdb-wasm@1.28.1-dev181.0

DuckDB-Wasm Deployment:

duckdb-wasm@1.28.1-dev181.0

Full Name:

KiranKumar Batchu

Affiliation:

Personal

carlopi commented 2 months ago

This should be now fixed, but there might be some caching still going on, refreshing the browser-tab should help.

Try: https://shell.duckdb.org/#queries=v0,LOAD-spatial