You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the following query on duckdb shell, I get different results than when I run it in the CLI
with data as (
select 2 as "col1"
union all
select 1
union all
select 0
union all
select -1
) select col1, ln(col1) from data;
In shell / wasm I get a result back, but for some reason it only has a single row and does not show any error
In the cli I get an error (I think that's what expected).
v0.8.2-dev1764 07b0b0a2a4
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
D with data as ( select 2 as "col1" union all select 1 union all select 0 union all select -1) select col1, ln(col1) from data;
Error: Out of Range Error: cannot take logarithm of zero
To Reproduce
with data as (
select 2 as "col1"
union all
select 1
union all
select 0
union all
select -1
) select col1, ln(col1) from data;
Browser/Environment:
Chrome 114
Device:
Macbook Pro M1
DuckDB-Wasm Version:
v0.8.2-dev1585
DuckDB-Wasm Deployment:
shell.duckdb.org
Full Name:
Jonathan Swenson
Affiliation:
Omni
The text was updated successfully, but these errors were encountered:
carlo@ScroogeMcDuck duckdb_httpfs % duckdb
v1.1.1 af39bd0dcf
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
D with data as (
select 2 as "col1"
union all
select 1
union all
select 0
union all
select -1
) select col1, ln(col1) from data;
Out of Range Error: cannot take logarithm of zero
D
DuckDB Wasm:
duckdb> with data as (
...> select 2 as "col1"
...> union all
...> select 1
...> union all
...> select 0
...> union all
...> select -1
...> ) select col1, ln(col1) from data;
Out of Range Error: cannot take logarithm of zero
What happens?
When I run the following query on duckdb shell, I get different results than when I run it in the CLI
In shell / wasm I get a result back, but for some reason it only has a single row and does not show any error
In the cli I get an error (I think that's what expected).
To Reproduce
Browser/Environment:
Chrome 114
Device:
Macbook Pro M1
DuckDB-Wasm Version:
v0.8.2-dev1585
DuckDB-Wasm Deployment:
shell.duckdb.org
Full Name:
Jonathan Swenson
Affiliation:
Omni
The text was updated successfully, but these errors were encountered: