소스 검색

Additional partition filters.

Carter Shanklin 11 년 전
부모
커밋
bc1409c18c
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      sample-queries-tpcds/query25.sql

+ 3 - 0
sample-queries-tpcds/query25.sql

@@ -32,6 +32,9 @@ select
  and cs_sold_date_sk = d3.d_date_sk
  and d3.d_moy               between 4 and  10
  and d3.d_year              = 1998
+ and ss_sold_date between '1998-04-01' and '1998-04-30'
+ and sr_returned_date between '1998-04-01' and '1998-10-31'
+ and cs_sold_date between '1998-04-01' and '1998-10-31'
  group by
  i_item_id
  ,i_item_desc