forked from duckdb/duckdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |