Files
impala/testdata/workloads/functional-query/queries/QueryTest/mt-dop.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

29 lines
386 B
Plaintext

====
---- QUERY
# IMPALA-4285: Test scan with no materialized slots.
select count(*) from alltypes
---- RESULTS
7300
---- TYPES
BIGINT
====
---- QUERY
# IMPALA-4565: incorrect results because mt scan node does not set eos
# correctly and sort node only gets the first row batch.
set batch_size=1;
select id
from alltypestiny
order by id
---- TYPES
int
---- RESULTS
0
1
2
3
4
5
6
7
====