should be it
This commit is contained in:
15
external/duckdb/benchmark/micro/cast/cast_string_double.benchmark
vendored
Normal file
15
external/duckdb/benchmark/micro/cast/cast_string_double.benchmark
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# name: benchmark/micro/cast/cast_string_double.benchmark
|
||||
# description: Cast string values to double
|
||||
# group: [cast]
|
||||
|
||||
name Cast VARCHAR -> DOUBLE
|
||||
group cast
|
||||
|
||||
load
|
||||
CREATE TABLE doubles AS SELECT i::DOUBLE d FROM range(0, 10000000) tbl(i);
|
||||
|
||||
run
|
||||
SELECT MIN(CAST(d AS DOUBLE)) FROM doubles
|
||||
|
||||
result I
|
||||
0
|
||||
Reference in New Issue
Block a user