Changeset: 211005037bb1 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/211005037bb1 Branch: default Log Message:
merged diffs (truncated from 42993 to 300 lines): diff --git a/sql/benchmarks/tpcds/Tests/alter.test b/sql/benchmarks/tpcds/Tests/alter.test --- a/sql/benchmarks/tpcds/Tests/alter.test +++ b/sql/benchmarks/tpcds/Tests/alter.test @@ -308,5 +308,20 @@ statement ok alter table web_site add constraint web_d2 foreign key (web_open_date_sk) references date_dim (d_date_sk) statement ok +alter table customer add constraint c_d foreign key (c_last_review_date) references date_dim (d_date_sk) + +statement ok +alter table store_returns add constraint sr_i_tn foreign key (sr_item_sk,sr_ticket_number) references store_sales (ss_item_sk,ss_ticket_number) + +statement ok +alter table catalog_returns add constraint cr_i_on foreign key (cr_item_sk,cr_order_number) references catalog_sales (cs_item_sk,cs_order_number) + +statement ok +alter table web_returns add constraint wr_i_on foreign key (wr_item_sk,wr_order_number) references web_sales (ws_item_sk,ws_order_number) + +statement ok +alter table web_page add constraint wp_c foreign key (wp_customer_sk) references customer (c_customer_sk) + +statement ok commit diff --git a/sql/benchmarks/tpcds/Tests/check.test b/sql/benchmarks/tpcds/Tests/check.test --- a/sql/benchmarks/tpcds/Tests/check.test +++ b/sql/benchmarks/tpcds/Tests/check.test @@ -131,3782 +131,312 @@ select count(*) from store_sales query TTTT nosort select * from dbgen_version ---- -2.10.0 -2018-10-22 -17:17:42 --DIR qual +2.10.0 2018-10-22 17:17:42 -DIR qual query ITTTTTTTTTTDT nosort select * from customer_address limit 9 ---- -1 -AAAAAAAABAAAAAAA -18 -Jackson -Parkway -Suite 280 -Fairfield -Maricopa County -AZ -86192 -United States --7.00 -condo -2 -AAAAAAAACAAAAAAA -362 -Washington 6th -RD -Suite 80 -Fairview -Taos County -NM -85709 -United States --7.00 -condo -3 -AAAAAAAADAAAAAAA -585 -Dogwood Washington -Circle -Suite Q -Pleasant Valley -York County -PA -12477 -United States --5.00 -single family -4 -AAAAAAAAEAAAAAAA -111 -Smith -Wy -Suite A -Oak Ridge -Kit Carson County -CO -88371 -United States --7.00 -condo -5 -AAAAAAAAFAAAAAAA -31 -College -Blvd -Suite 180 -Glendale -Barry County -MO -63951 -United States --6.00 -single family -6 -AAAAAAAAGAAAAAAA -59 -Williams Sixth -Parkway -Suite 100 -Lakeview -Chelan County -WA -98579 -United States --8.00 -single family -7 -AAAAAAAAHAAAAAAA -NULL -Hill 7th -Road -Suite U -Farmington -NULL -NULL -39145 -United States -NULL -NULL -8 -AAAAAAAAIAAAAAAA -875 -Lincoln -Ct. -Suite Y -Union -Bledsoe County -TN -38721 -United States --5.00 -apartment -9 -AAAAAAAAJAAAAAAA -819 -1st Laurel -Ave -Suite 70 -New Hope -Perry County -AL -39431 -United States --6.00 -condo +1 AAAAAAAABAAAAAAA 18 Jackson Parkway Suite 280 Fairfield Maricopa County AZ 86192 United States -7.00 condo +2 AAAAAAAACAAAAAAA 362 Washington 6th RD Suite 80 Fairview Taos County NM 85709 United States -7.00 condo +3 AAAAAAAADAAAAAAA 585 Dogwood Washington Circle Suite Q Pleasant Valley York County PA 12477 United States -5.00 single family +4 AAAAAAAAEAAAAAAA 111 Smith Wy Suite A Oak Ridge Kit Carson County CO 88371 United States -7.00 condo +5 AAAAAAAAFAAAAAAA 31 College Blvd Suite 180 Glendale Barry County MO 63951 United States -6.00 single family +6 AAAAAAAAGAAAAAAA 59 Williams Sixth Parkway Suite 100 Lakeview Chelan County WA 98579 United States -8.00 single family +7 AAAAAAAAHAAAAAAA NULL Hill 7th Road Suite U Farmington NULL NULL 39145 United States NULL NULL +8 AAAAAAAAIAAAAAAA 875 Lincoln Ct. Suite Y Union Bledsoe County TN 38721 United States -5.00 apartment +9 AAAAAAAAJAAAAAAA 819 1st Laurel Ave Suite 70 New Hope Perry County AL 39431 United States -6.00 condo query ITTTITIII nosort select * from customer_demographics order by cd_demo_sk limit 9 ---- -1 -M -M -Primary -500 -Good -0 -0 -0 -2 -F -M -Primary -500 -Good -0 -0 -0 -3 -M -S -Primary -500 -Good -0 -0 -0 -4 -F -S -Primary -500 -Good -0 -0 -0 -5 -M -D -Primary -500 -Good -0 -0 -0 -6 -F -D -Primary -500 -Good -0 -0 -0 -7 -M -W -Primary -500 -Good -0 -0 -0 -8 -F -W -Primary -500 -Good -0 -0 -0 -9 -M -U -Primary -500 -Good -0 -0 -0 +1 M M Primary 500 Good 0 0 0 +2 F M Primary 500 Good 0 0 0 +3 M S Primary 500 Good 0 0 0 +4 F S Primary 500 Good 0 0 0 +5 M D Primary 500 Good 0 0 0 +6 F D Primary 500 Good 0 0 0 +7 M W Primary 500 Good 0 0 0 +8 F W Primary 500 Good 0 0 0 +9 M U Primary 500 Good 0 0 0 query ITTIIIIIIIIIIITTTTTIIIITTTTT nosort select * from date_dim order by d_date_sk limit 9 ---- -2415022 -AAAAAAAAOKJNECAA -1900-01-02 -0 -1 -1 -1900 -1 -1 -2 -1 -1900 -1 -1 -Monday -1900Q1 -N -N -Y -2415021 -2415020 -2414657 -2414930 -N -N -N -N -N -2415023 -AAAAAAAAPKJNECAA -1900-01-03 -0 -1 -1 -1900 -2 _______________________________________________ checkin-list mailing list -- [email protected] To unsubscribe send an email to [email protected]
