duckdb / duckdb-wasm

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

Error on calling getTableNames for summarize query #1744

Open aszenz opened 1 month ago

aszenz commented 1 month ago

What happens?

Error: Binder Error: table "summarize_tbl" has 1 columns available but 26 columns specified at pa.getTableNames (bindings_base.ts:223:19) at Lo.onMessage (worker_dispatcher.ts:288:51) at Bc.globalThis.onmessage (duckdb-browser-eh.worker.ts:29:19)

To Reproduce

connection.getTableNames('summarize account');

Browser/Environment:

Chromium Version 124.0.6367.201 (Official Build) (64-bit)

Device:

Laptop

DuckDB-Wasm Version:

^1.28.1-dev106.0

DuckDB-Wasm Deployment:

_

Full Name:

asrar

Affiliation:

qbil

carlopi commented 3 weeks ago

Thanks for the bug report, could you possibly share a more complete snippet? Thanks a lot