Files
impala/testdata/workloads/tpcds/queries/count.test
ishaan 734e720297 Fix the tpcds count queries test.
Because of a malformed .test file, TPCDS-COUNT-PROMOTION was never run because of a
missing section delimiter. This patch fixes the .test file and adds the delimiter.

Change-Id: Ifd0fa5db1c2bb84815fc66e981e6a989e6c217e4
Reviewed-on: http://gerrit.ent.cloudera.com:8080/2017
Reviewed-by: Ishaan Joshi <ishaan@cloudera.com>
Tested-by: jenkins
Reviewed-on: http://gerrit.ent.cloudera.com:8080/2080
2014-03-25 22:26:42 -07:00

65 lines
1022 B
Plaintext

====
---- QUERY : TPCDS-COUNT-CUSTOMER
select count(*) from customer
---- RESULTS
100000
---- TYPES
BIGINT
====
---- QUERY : TPCDS-COUNT-CUSTOMER_ADDRESS
select count(*) from customer_address;
---- RESULTS
50000
---- TYPES
BIGINT
====
---- QUERY : TPCDS-COUNT-CUSTOMER_DEMOGRAPHICS
select count(*) from customer_demographics;
---- RESULTS
1920800
---- TYPES
BIGINT
====
---- QUERY : TPCDS-COUNT-DATE_DIM
select count(*) from date_dim;
---- RESULTS
73049
---- TYPES
BIGINT
====
---- QUERY : TPCDS-COUNT-HOUSEHOLD_DEMOGRAPHICS
select count(*) from household_demographics;
---- RESULTS
7200
---- TYPES
BIGINT
====
---- QUERY : TPCDS-COUNT-ITEM
select count(*) from item;
---- RESULTS
18000
---- TYPES
BIGINT
====
---- QUERY : TPCDS-COUNT-PROMOTION
select count(*) from promotion;
---- RESULTS
300
---- TYPES
BIGINT
====
---- QUERY : TPCDS-COUNT-STORE
select count(*) from store;
---- RESULTS
12
---- TYPES
BIGINT
====
---- QUERY : TPCDS-COUNT-TIME_DIM
select count(*) from time_dim;
---- RESULTS
86400
---- TYPES
BIGINT
====