Files
impala/testdata/workloads/tpcds/queries/count.test
ishaan db97981ab9 [CDH5] Switch the tpcds schemas to use decimal instead of float/double.
This patch converts the tpcds schemas to use decimal instead of float/double. Currently,
Impala can only r/w decimal in text, therefore, the tables are constrained to text. The
schemas were obtained from the official tpc spec:
http://www.tpc.org/tpcds/spec/tpcds_1.1.0.pdf

Change-Id: I1ef0113dcb48bad52af75ee93b47b08adf9e1a69
Reviewed-on: http://gerrit.ent.cloudera.com:8080/2403
Reviewed-by: Ishaan Joshi <ishaan@cloudera.com>
Tested-by: jenkins
2014-06-08 11:47:23 -07:00

64 lines
1012 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
====