We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71b953c commit 02d5a42Copy full SHA for 02d5a42
benchmarks/tpch-load/cleanup.json
@@ -0,0 +1,17 @@
1
+{
2
+ "description": "Cleanup tables.",
3
+ "query_files": [
4
+ "drop-table/customer.sql",
5
+ "drop-table/lineitem.sql",
6
+ "drop-table/nation.sql",
7
+ "drop-table/orders.sql",
8
+ "drop-table/part.sql",
9
+ "drop-table/partsupp.sql",
10
+ "drop-table/region.sql",
11
+ "drop-table/supplier.sql"
12
+ ],
13
+ "expected_row_counts": {
14
+ "load_tpch_sf100_parquet": [
15
+ ]
16
+ }
17
+}
benchmarks/tpch-load/cleanup_sf100.sql
benchmarks/tpch-load/create-table/create_schema_sf100.sql
@@ -0,0 +1,2 @@
+CREATE SCHEMA IF NOT EXISTS load_tpch_sf100_parquet WITH (LOCATION = 's3a://presto-workload/load_tpch_sf100_parquet/');
+--USE load_tpch_sf100_parquet;
benchmarks/tpch-load/create-table/customer.sql
@@ -0,0 +1,11 @@
+-- Creating customer table with PARQUET format
+CREATE TABLE customer (
+ custkey BIGINT NOT NULL,
+ name VARCHAR(25) NOT NULL,
+ address VARCHAR(40) NOT NULL,
+ nationkey BIGINT NOT NULL,
+ phone VARCHAR(15) NOT NULL,
+ acctbal DECIMAL(12,2) NOT NULL,
+ mktsegment VARCHAR(10) NOT NULL,
+ comment VARCHAR(117) NOT NULL
+) WITH (format = 'PARQUET');
benchmarks/tpch-load/create-table/lineitem.sql
@@ -0,0 +1,19 @@
+-- Creating lineitem table with PARQUET format
+CREATE TABLE lineitem (
+ orderkey BIGINT NOT NULL,
+ partkey BIGINT NOT NULL,
+ suppkey BIGINT NOT NULL,
+ linenumber BIGINT NOT NULL,
+ quantity DECIMAL(12,2) NOT NULL,
+ extendedprice DECIMAL(12,2) NOT NULL,
+ discount DECIMAL(12,2) NOT NULL,
+ tax DECIMAL(12,2) NOT NULL,
+ returnflag VARCHAR(1) NOT NULL,
+ linestatus VARCHAR(1) NOT NULL,
+ shipdate DATE NOT NULL,
+ commitdate DATE NOT NULL,
+ receiptdate DATE NOT NULL,
+ shipinstruct VARCHAR(25) NOT NULL,
+ shipmode VARCHAR(10) NOT NULL,
18
+ comment VARCHAR(44) NOT NULL
19
benchmarks/tpch-load/create-table/nation.sql
@@ -0,0 +1,7 @@
+-- Creating nation table with PARQUET format
+CREATE TABLE nation (
+ regionkey BIGINT NOT NULL,
+ comment VARCHAR(152) NOT NULL
benchmarks/tpch-load/create-table/orders.sql
@@ -0,0 +1,12 @@
+-- Creating orders table with PARQUET format
+CREATE TABLE orders (
+ orderstatus VARCHAR(1) NOT NULL,
+ totalprice DECIMAL(12,2) NOT NULL,
+ orderdate DATE NOT NULL,
+ orderpriority VARCHAR(15) NOT NULL,
+ clerk VARCHAR(15) NOT NULL,
+ shippriority BIGINT NOT NULL,
+ comment VARCHAR(79) NOT NULL
benchmarks/tpch-load/create-table/part.sql
+-- Creating part table with PARQUET format
+CREATE TABLE part (
+ name VARCHAR(55) NOT NULL,
+ mfgr VARCHAR(25) NOT NULL,
+ brand VARCHAR(10) NOT NULL,
+ type VARCHAR(25) NOT NULL,
+ size BIGINT NOT NULL,
+ container VARCHAR(10) NOT NULL,
+ retailprice DECIMAL(12,2) NOT NULL,
+ comment VARCHAR(23) NOT NULL
benchmarks/tpch-load/create-table/partsupp.sql
@@ -0,0 +1,8 @@
+-- Creating partsupp table with PARQUET format
+CREATE TABLE partsupp (
+ availqty BIGINT NOT NULL,
+ supplycost DECIMAL(12,2) NOT NULL,
+ comment VARCHAR(199) NOT NULL
benchmarks/tpch-load/create-table/region.sql
@@ -0,0 +1,6 @@
+-- Creating region table with PARQUET format
+CREATE TABLE region (
0 commit comments