ソースを参照

Deleting the sandbox script.

cartershanklin 12 年 前
コミット
02899b515f

+ 0 - 33
sample-queries/query12-partitioned.sql

@@ -1,33 +0,0 @@
-select i_item_desc 
-      ,i_category 
-      ,i_class 
-      ,i_current_price
-      ,i_item_id
-      ,itemrevenue 
-      ,itemrevenue*100/sum(itemrevenue) over
-          (partition by i_class) as revenueratio
-from (select
-          i_item_desc
-         ,i_category 
-         ,i_class 
-         ,i_current_price
-         ,i_item_id
-         ,sum(ss_ext_sales_price) as itemrevenue 
-      from store_sales
-         join item on (store_sales.ss_item_sk = item.i_item_sk) 
-         join date_dim on (store_sales.ss_sold_date_sk = date_dim.d_date_sk)
-      where 
-         i_category in ('Sports', 'Shoes', 'Books') and year(d_date) = 2001 and month(d_date) = 10 and
-	 ss_sold_date between '2001-10-01' and '2001-10-31'
-      group by 
-          i_item_id
-         ,i_item_desc 
-         ,i_category
-         ,i_class
-         ,i_current_price) tmp
-order by 
-     i_category
-    ,i_class
-    ,i_item_id
-    ,i_item_desc
-    ,revenueratio;

+ 0 - 25
sample-queries/query27-partitioned.sql

@@ -1,25 +0,0 @@
-
-select  i_item_id,
-        s_state,
-        avg(ss_quantity) agg1,
-        avg(ss_list_price) agg2,
-        avg(ss_coupon_amt) agg3,
-        avg(ss_sales_price) agg4
- from store_sales
-      JOIN customer_demographics ON store_sales.ss_cdemo_sk = customer_demographics.cd_demo_sk
-      JOIN date_dim ON store_sales.ss_sold_date_sk = date_dim.d_date_sk
-      JOIN store ON store_sales.ss_store_sk = store.s_store_sk
-      JOIN item ON store_sales.ss_item_sk = item.i_item_sk
- where
-       cd_gender = 'F' and
-       cd_marital_status = 'W' and
-       cd_education_status = 'Primary' and
-       d_year = 1998 and
-       s_state = 'TN' and
-       ss_sold_date between '1998-01-01' and '1998-12-31'
- group by i_item_id, s_state
- order by i_item_id
-         ,s_state
- limit 100;
-
-

+ 0 - 13
sample-queries/query82.sql

@@ -1,13 +0,0 @@
-select i_item_id
-      ,i_item_desc
-      ,i_current_price
-from item i
-     join inventory inv on (inv.inv_item_sk = i.i_item_sk)
-     join store_sales ss on (ss.ss_item_sk = i.i_item_sk)
-where i_current_price between 0.0 and 0.0+30.0
-and inv_date between '1998-01-01' and '1998-03-02'
-and i_manufact_id in (11,22,33,44)
-and inv_quantity_on_hand between 100 and 500
-group by i_item_id,i_item_desc,i_current_price
-order by i_item_id
-limit 100;

+ 0 - 3
tpcds-setup-sandbox.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-./tpcds-setup.sh "$1" "$2" unpartitioned