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
What does happen? create_index.benchmark throws me an Out of Range Error
The benchmark has this SQL as issue: CREATE TABLE integers AS SELECT (i * 9876983769044 % 10000000) AS i FROM range(0, 10000000) t(i);
The duckdb executable can't handle this query:
v0.2.10-dev339 eb63d0af8
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
D CREATE TABLE integers AS SELECT (i * 9876983769044 % 10000000) AS i FROM range(0, 10000000) t(i);
Error: Out of Range Error: Overflow in multiplication of INT64 (933825 * 9876983769044)!
What should happen?
Hard to define: the compiler could do constant propagation and constant folding in optimization passes.
It is reasonable, that this SQL throws an Out of Range Error. But this SQL with error should not be included into the benchmark.
To Reproduce
Steps to reproduce the behavior. Bonus points if those are only SQL queries.
.duckdb
CREATE TABLE integers AS SELECT (i * 9876983769044 % 10000000) AS i FROM range(0, 10000000) t(i);
What does happen?
create_index.benchmark
throws me an Out of Range ErrorThe benchmark has this SQL as issue:
CREATE TABLE integers AS SELECT (i * 9876983769044 % 10000000) AS i FROM range(0, 10000000) t(i);
The duckdb executable can't handle this query:
What should happen?
Hard to define: the compiler could do constant propagation and constant folding in optimization passes.
It is reasonable, that this SQL throws an Out of Range Error.
But this SQL with error should not be included into the benchmark.
To Reproduce
Steps to reproduce the behavior. Bonus points if those are only SQL queries.
.duckdb
or
BUILD_BENCHMARK=1 BUILD_TPCH=1 make
build/release/benchmark/benchmark_runner benchmark/micro/index/create_index.benchmark
Environment (please complete the following information):
eb63d0af8
Before submitting
master
branch? In case you cannot compile, you may find some binaries here: https://github.com/duckdb/duckdb/releases/tag/master-buildsThe text was updated successfully, but these errors were encountered: