mirror of
https://github.com/apache/impala.git
synced 2026-01-02 03:00:32 -05:00
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
29 lines
386 B
Plaintext
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
|
|
====
|