should be it
This commit is contained in:
15
external/duckdb/benchmark/micro/cast/cast_int64_int32.benchmark
vendored
Normal file
15
external/duckdb/benchmark/micro/cast/cast_int64_int32.benchmark
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# name: benchmark/micro/cast/cast_int64_int32.benchmark
|
||||
# description: Cast BIGINT to INTEGER
|
||||
# group: [cast]
|
||||
|
||||
name Cast BIGINT -> INTEGER
|
||||
group cast
|
||||
|
||||
load
|
||||
CREATE TABLE integers AS SELECT i::BIGINT i FROM range(0, 50000000) tbl(i);
|
||||
|
||||
run
|
||||
SELECT MAX(CAST(i AS INTEGER)) FROM integers
|
||||
|
||||
result I
|
||||
49999999
|
||||
Reference in New Issue
Block a user