-
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.
* Prepare next release * Docs: Improve * self.connectionmanagement['singleConnection'] optional * Docs: Improve API * K8s: Stop experiment does not delete pod * Docs: Improve API * Docs: Improve API * K8s: Script as metadata * K8s: Escape DBMS password * TPC-H: Dialect TSQL and Oracle * TPC-H: Demo config * TPC-H: Demo Exasol, OracleDB, SQLServer
- Loading branch information
Showing
20 changed files
with
1,775 additions
and
136 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
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
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
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
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
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,36 @@ | ||
-- sccsid: @(#)dss.ri 2.1.8.1 | ||
-- tpcd benchmark version 8.0 | ||
|
||
-- for table nation | ||
alter table public.nation | ||
add foreign key (n_regionkey) references public.region(r_regionkey); | ||
|
||
-- for table supplier | ||
alter table public.supplier | ||
add foreign key (s_nationkey) references public.nation(n_nationkey); | ||
|
||
-- for table customer | ||
alter table public.customer | ||
add foreign key (c_nationkey) references public.nation(n_nationkey); | ||
|
||
-- for table partsupp | ||
alter table public.partsupp | ||
add foreign key (ps_suppkey) references public.supplier(s_suppkey); | ||
|
||
alter table public.partsupp | ||
add foreign key (ps_partkey) references public.part(p_partkey); | ||
|
||
-- for table orders | ||
alter table public.orders | ||
add foreign key (o_custkey) references public.customer(c_custkey); | ||
|
||
-- for table lineitem | ||
alter table public.lineitem | ||
add foreign key (l_orderkey) references public.orders(o_orderkey); | ||
|
||
alter table public.lineitem | ||
add foreign key (l_partkey,l_suppkey) references | ||
public.partsupp(ps_partkey,ps_suppkey); | ||
|
||
|
||
|
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,8 @@ | ||
IMPORT INTO public.customer FROM LOCAL CSV FILE '/data/tpch/SF1/customer.tbl' COLUMN SEPARATOR = '|' SKIP = 0; | ||
IMPORT INTO public.lineitem FROM LOCAL CSV FILE '/data/tpch/SF1/lineitem.tbl' COLUMN SEPARATOR = '|' SKIP = 0; | ||
IMPORT INTO public.nation FROM LOCAL CSV FILE '/data/tpch/SF1/nation.tbl' COLUMN SEPARATOR = '|' SKIP = 0; | ||
IMPORT INTO public.orders FROM LOCAL CSV FILE '/data/tpch/SF1/orders.tbl' COLUMN SEPARATOR = '|' SKIP = 0; | ||
IMPORT INTO public.part FROM LOCAL CSV FILE '/data/tpch/SF1/part.tbl' COLUMN SEPARATOR = '|' SKIP = 0; | ||
IMPORT INTO public.partsupp FROM LOCAL CSV FILE '/data/tpch/SF1/partsupp.tbl' COLUMN SEPARATOR = '|' SKIP = 0; | ||
IMPORT INTO public.region FROM LOCAL CSV FILE '/data/tpch/SF1/region.tbl' COLUMN SEPARATOR = '|' SKIP = 0; | ||
IMPORT INTO public.supplier FROM LOCAL CSV FILE '/data/tpch/SF1/supplier.tbl' COLUMN SEPARATOR = '|' SKIP = 0; |
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,52 @@ | ||
-- indexes for foreign keys | ||
|
||
-- for table region | ||
alter table public.region | ||
add primary key (r_regionkey); | ||
|
||
-- for table nation | ||
alter table public.nation | ||
add primary key (n_nationkey); | ||
|
||
-- create index on public.nation (n_regionkey); | ||
|
||
-- for table part | ||
alter table public.part | ||
add primary key (p_partkey); | ||
|
||
-- for table supplier | ||
alter table public.supplier | ||
add primary key (s_suppkey); | ||
|
||
-- create index on public.supplier (s_nationkey); | ||
|
||
-- for table partsupp | ||
alter table public.partsupp | ||
add primary key (ps_partkey,ps_suppkey); | ||
|
||
-- for table customer | ||
alter table public.customer | ||
add primary key (c_custkey); | ||
|
||
-- create index on public.customer (c_nationkey); | ||
|
||
-- for table partsupp | ||
-- create index on public.partsupp (ps_suppkey); | ||
|
||
-- create index on public.partsupp (ps_partkey); | ||
|
||
-- for table lineitem | ||
alter table public.lineitem | ||
add primary key (l_orderkey,l_linenumber); | ||
|
||
-- for table orders | ||
alter table public.orders | ||
add primary key (o_orderkey); | ||
|
||
-- create index on public.orders (o_custkey); | ||
|
||
-- for table lineitem | ||
-- create index on public.lineitem (l_orderkey); | ||
|
||
-- create index on public.lineitem (l_partkey,l_suppkey); | ||
|
Oops, something went wrong.