Files
impala/testdata/workloads/functional-query/queries/QueryTest/mt-dop-parquet-nested.test
Tim Armstrong b374061206 IMPALA-4564,IMPALA-4565: mt_dop fixes for old aggs and joins
Fix a test bug where we need to skip nested types tests for the old aggs
and joins.

Fix a product bug where *eos is not initialised by the MT scan node.
This causes incorrect results when the calling ExecNode does not
initialise the eos variable, e.g. the sort node and the old agg and join
nodes.

Testing:
Added a test that reproduces the incorrect results with the sort node
when run under ASAN

Tested the mt_dop tests locally with old aggs and joins to ensure they
pass.

Change-Id: I48c50c8aa0c23710eb099fba252bc3c0cb74b313
Reviewed-on: http://gerrit.cloudera.org:8080/5302
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: Impala Public Jenkins
2016-12-02 01:46:55 +00:00

35 lines
702 B
Plaintext

====
---- QUERY
# IMPALA-4554: Memory corruption of nested collection with MT_DOP > 0.
select id, cnt
from functional_parquet.complextypestbl t,
(select count(item) cnt from t.int_array) v
order by id
limit 10
---- RESULTS
1,3
2,3
3,0
4,0
5,0
6,0
7,0
8,1
---- TYPES
bigint,bigint
====
---- QUERY
# IMPALA-4458: Test proper resource cleanup for cancelled fragments.
# This test is duplicated from nested-types-subplan.test
select c_custkey, c_mktsegment, o_orderkey, o_orderdate
from tpch_nested_parquet.customer c, c.c_orders o
where c_custkey = 1
limit 3
---- RESULTS
1,regex:.*,regex:.*,regex:.*
1,regex:.*,regex:.*,regex:.*
1,regex:.*,regex:.*,regex:.*
---- TYPES
bigint,string,bigint,string
====