-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when query contains a UNION value #1502
Comments
This does not appear to depend on the type of the value in the UNION. For example, using an integer results in the same error with a slightly different stack trace:
|
Also note that this currently causes
|
I've confirmed that upgrading to apache-arrow v14.0.1 (the latest at the time of this writing) fixes this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happens?
When the following query is run in DuckDB WASM:
from (values (union_value(str := 'abc')));
an error like the following is returned:
This happens when the query is passed directly to the DuckDB WASM JS API (i.e.
query
onAsyncDuckDBConnection
).In
shell.duckdb.org
, running the query above does not return any results, either an error or the correct output.In the native CLI, the query above returns:
To Reproduce
In the
esbuild-browser
example, replace the query withfrom (values (union_value(str := 'abc')));
.Browser/Environment:
Chrome 118
Device:
M2 MacBook
DuckDB-Wasm Version:
1.28.0
DuckDB-Wasm Deployment:
local (esbuild-browser example)
Full Name:
Jeff Raymakers
Affiliation:
MotherDuck
The text was updated successfully, but these errors were encountered: