should be it
This commit is contained in:
69
external/duckdb/test/sql/storage/tpcds/tpcds_storage.test_slow
vendored
Normal file
69
external/duckdb/test/sql/storage/tpcds/tpcds_storage.test_slow
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
# name: test/sql/storage/tpcds/tpcds_storage.test_slow
|
||||
# description: Test TPC-DS SF1 queries on persistent storage
|
||||
# group: [tpcds]
|
||||
|
||||
require tpcds
|
||||
|
||||
load __TEST_DIR__/tpcds_storage.db
|
||||
|
||||
foreach compression <compression>
|
||||
|
||||
statement ok
|
||||
PRAGMA force_compression='${compression}'
|
||||
|
||||
statement ok
|
||||
call dsdgen(sf=1);
|
||||
|
||||
statement ok
|
||||
CHECKPOINT
|
||||
|
||||
restart
|
||||
|
||||
statement ok
|
||||
PRAGMA default_null_order='postgres'
|
||||
|
||||
loop i 1 9
|
||||
|
||||
query I
|
||||
PRAGMA tpcds(${i})
|
||||
----
|
||||
<FILE>:extension/tpcds/dsdgen/answers/sf1/0${i}.csv
|
||||
|
||||
endloop
|
||||
|
||||
loop i 10 100
|
||||
|
||||
query I
|
||||
PRAGMA tpcds(${i})
|
||||
----
|
||||
<FILE>:extension/tpcds/dsdgen/answers/sf1/${i}.csv
|
||||
|
||||
endloop
|
||||
|
||||
statement ok
|
||||
DROP TABLE call_center;
|
||||
DROP TABLE catalog_page;
|
||||
DROP TABLE catalog_returns;
|
||||
DROP TABLE catalog_sales;
|
||||
DROP TABLE customer;
|
||||
DROP TABLE customer_address;
|
||||
DROP TABLE customer_demographics;
|
||||
DROP TABLE date_dim;
|
||||
DROP TABLE household_demographics;
|
||||
DROP TABLE income_band;
|
||||
DROP TABLE inventory;
|
||||
DROP TABLE item;
|
||||
DROP TABLE promotion;
|
||||
DROP TABLE reason;
|
||||
DROP TABLE ship_mode;
|
||||
DROP TABLE store;
|
||||
DROP TABLE store_returns;
|
||||
DROP TABLE store_sales;
|
||||
DROP TABLE time_dim;
|
||||
DROP TABLE warehouse;
|
||||
DROP TABLE web_page;
|
||||
DROP TABLE web_returns;
|
||||
DROP TABLE web_sales;
|
||||
DROP TABLE web_site;
|
||||
|
||||
endloop
|
||||
Reference in New Issue
Block a user