Skip to content

Commit

Permalink
Issue duckdb#2310: Create Index Benchmark
Browse files Browse the repository at this point in the history
Added some casts to fix Out of range Error.
  • Loading branch information
Richard Wesley committed Sep 21, 2021
1 parent ee3e405 commit 8a9fa5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/micro/index/create_index.benchmark
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name Create Index
group index

load
CREATE TABLE integers AS SELECT (i * 9876983769044 % 10000000) AS i FROM range(0, 10000000) t(i);
CREATE TABLE integers AS SELECT (i * 9876983769044::INT128 % 10000000)::INT64 AS i FROM range(0, 10000000) t(i);

run
CREATE INDEX i_index ON integers using art(i);
Expand Down

0 comments on commit 8a9fa5f

Please sign in to comment.