Skip to content

Commit 46316c7

Browse files
authored
chore: fix load tpch100 for benchmark (#17899)
1 parent b588980 commit 46316c7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

benchmark/clickbench/tpch/load.sql

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
11
COPY INTO customer
2-
FROM @datasets/tpch/customer/ PATTERN = 'customer.tbl.*' FILE_FORMAT =(
2+
FROM @datasets/tpch100/customer/ PATTERN = 'customer.tbl.*' FILE_FORMAT =(
33
type = 'CSV' field_delimiter = '|' record_delimiter = '\n' skip_header = 1
44
);
55
ANALYZE TABLE customer;
66
COPY INTO lineitem
7-
FROM @datasets/tpch/lineitem/ PATTERN = 'lineitem.tbl.*' FILE_FORMAT =(
7+
FROM @datasets/tpch100/lineitem/ PATTERN = 'lineitem.tbl.*' FILE_FORMAT =(
88
type = 'CSV' field_delimiter = '|' record_delimiter = '\n' skip_header = 0
99
);
1010
ANALYZE TABLE lineitem;
1111
COPY INTO nation
12-
FROM @datasets/tpch/nation.tbl FILE_FORMAT =(
12+
FROM @datasets/tpch100/nation.tbl FILE_FORMAT =(
1313
type = 'CSV' field_delimiter = '|' record_delimiter = '\n' skip_header = 0
1414
);
1515
ANALYZE TABLE nation;
1616
COPY INTO orders
17-
FROM @datasets/tpch/orders/ PATTERN = 'orders.tbl.*' FILE_FORMAT =(
17+
FROM @datasets/tpch100/orders/ PATTERN = 'orders.tbl.*' FILE_FORMAT =(
1818
type = 'CSV' field_delimiter = '|' record_delimiter = '\n' skip_header = 0
1919
);
2020
ANALYZE TABLE orders;
2121
COPY INTO partsupp
22-
FROM @datasets/tpch/partsupp/ PATTERN = 'partsupp.tbl.*' FILE_FORMAT =(
22+
FROM @datasets/tpch100/partsupp/ PATTERN = 'partsupp.tbl.*' FILE_FORMAT =(
2323
type = 'CSV' field_delimiter = '|' record_delimiter = '\n' skip_header = 0
2424
);
2525
ANALYZE TABLE partsupp;
2626
COPY INTO part
27-
FROM @datasets/tpch/part/ PATTERN = 'part.tbl.*' FILE_FORMAT =(
27+
FROM @datasets/tpch100/part/ PATTERN = 'part.tbl.*' FILE_FORMAT =(
2828
type = 'CSV' field_delimiter = '|' record_delimiter = '\n' skip_header = 0
2929
);
3030
ANALYZE TABLE part;
3131
COPY INTO region
32-
FROM @datasets/tpch/region.tbl FILE_FORMAT =(
32+
FROM @datasets/tpch100/region.tbl FILE_FORMAT =(
3333
type = 'CSV' field_delimiter = '|' record_delimiter = '\n' skip_header = 0
3434
);
3535
ANALYZE TABLE region;
3636
COPY INTO supplier
37-
FROM @datasets/tpch/supplier/ PATTERN = 'supplier.tbl.*' FILE_FORMAT =(
37+
FROM @datasets/tpch100/supplier/ PATTERN = 'supplier.tbl.*' FILE_FORMAT =(
3838
type = 'CSV' field_delimiter = '|' record_delimiter = '\n' skip_header = 0
3939
);
4040
ANALYZE TABLE supplier;

0 commit comments

Comments
 (0)