mirror of
https://github.com/apache/impala.git
synced 2026-01-07 00:02:28 -05:00
The concurrent test driver did not pick them up because the name prefix did not match the workload dirname. The query test driver used a hardcoded prefix. Testing done: Ran tests/stress/concurrent_select.py, tests/query_test/test_tpch_nested_queries.py locally; latter passed, former hit IMPALA-5855 after correctly locating all 22 new tpch_nested query files. Change-Id: Ie067b201ae20b4f4c61a98be7ac1ec5a3f8febd8 Reviewed-on: http://gerrit.cloudera.org:8080/7891 Reviewed-by: Michael Brown <mikeb@cloudera.com> Reviewed-by: David Knupp <dknupp@cloudera.com> Tested-by: Impala Public Jenkins
39 lines
824 B
Plaintext
39 lines
824 B
Plaintext
====
|
|
---- QUERY: TPCH-Q3
|
|
# Q3 - Shipping Priority Query
|
|
select
|
|
o_orderkey,
|
|
sum(l_extendedprice * (1 - l_discount)) as revenue,
|
|
o_orderdate,
|
|
o_shippriority
|
|
from
|
|
customer c,
|
|
c.c_orders o,
|
|
o.o_lineitems l
|
|
where
|
|
c_mktsegment = 'BUILDING'
|
|
and o_orderdate < '1995-03-15'
|
|
and l_shipdate > '1995-03-15'
|
|
group by
|
|
o_orderkey,
|
|
o_orderdate,
|
|
o_shippriority
|
|
order by
|
|
revenue desc,
|
|
o_orderdate
|
|
limit 10
|
|
---- RESULTS
|
|
2456423,406181.0111,'1995-03-05',0
|
|
3459808,405838.6989,'1995-03-04',0
|
|
492164,390324.0610,'1995-02-19',0
|
|
1188320,384537.9359,'1995-03-09',0
|
|
2435712,378673.0558,'1995-02-26',0
|
|
4878020,378376.7952,'1995-03-12',0
|
|
5521732,375153.9215,'1995-03-13',0
|
|
2628192,373133.3094,'1995-02-22',0
|
|
993600,371407.4595,'1995-03-05',0
|
|
2300070,367371.1452,'1995-03-13',0
|
|
---- TYPES
|
|
BIGINT, DECIMAL, STRING, INT
|
|
====
|