Skip to content

Commit

Permalink
Add Benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
pdet committed Apr 19, 2024
1 parent 9f57957 commit f9ebe00
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions benchmark/micro/csv/time_type.benchmark
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# name: benchmark/micro/csv/time_type.benchmark
# description: Run CSV scan with timestamp and date types
# group: [csv]

name CSV Read Benchmark with timestamp and date types
group csv

load
CREATE TABLE t1 AS select '30/07/1992', '30/07/1992 17:15:30';
insert into t1 select '30/07/1992', '30/07/1992 17:15:30' from range(0,10000000) tbl(i);
COPY t1 TO '${BENCHMARK_DIR}/time_timestamp.csv' (FORMAT CSV, HEADER 0);

run
SELECT * from read_csv('${BENCHMARK_DIR}/time_timestamp.csv',delim= ',', header = 0)

0 comments on commit f9ebe00

Please sign in to comment.