File: 1_byte_values.benchmark

package info (click to toggle)
duckdb 1.5.1-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 299,196 kB
  • sloc: cpp: 865,414; ansic: 57,292; python: 18,871; sql: 12,663; lisp: 11,751; yacc: 7,412; lex: 1,682; sh: 747; makefile: 564
file content (14 lines) | stat: -rw-r--r-- 455 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# name: benchmark/csv/1_byte_values.benchmark
# description: Run CSV scan on file with muiltiple values of 1 bytes
# group: [csv]

name CSV Read Benchmark with nullpadding
group csv

load
CREATE TABLE t1 AS select 'a,a,a,a,a';
insert into t1  select 'a,a,a,a,a' from range(0,10000000) tbl(i);
COPY t1 TO '${BENCHMARK_DIR}/this_is_1byte.csv' (FORMAT CSV, HEADER 0);

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