Repository: incubator-impala Updated Branches: refs/heads/master 2a7c8b901 -> b524a5ce6
IMPALA-5827: add test for failure to repartition in hash join Testing: Ran the test locally. Change-Id: If6d601f9d15bed4667b50576f07f6216c34ed9c4 Reviewed-on: http://gerrit.cloudera.org:8080/7811 Reviewed-by: Dan Hecht <[email protected]> Tested-by: Impala Public Jenkins Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/51c7fcd5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/51c7fcd5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/51c7fcd5 Branch: refs/heads/master Commit: 51c7fcd5dc4a7fe1d8788be534809c4969ffe8a7 Parents: 2a7c8b9 Author: Tim Armstrong <[email protected]> Authored: Thu Aug 24 13:58:11 2017 -0700 Committer: Impala Public Jenkins <[email protected]> Committed: Fri Aug 25 01:17:46 2017 +0000 ---------------------------------------------------------------------- .../functional-query/queries/QueryTest/spilling.test | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/51c7fcd5/testdata/workloads/functional-query/queries/QueryTest/spilling.test ---------------------------------------------------------------------- diff --git a/testdata/workloads/functional-query/queries/QueryTest/spilling.test b/testdata/workloads/functional-query/queries/QueryTest/spilling.test index 3868e4f..f8226f1 100644 --- a/testdata/workloads/functional-query/queries/QueryTest/spilling.test +++ b/testdata/workloads/functional-query/queries/QueryTest/spilling.test @@ -356,3 +356,12 @@ row_regex: .*Query State: FINISHED.* row_regex: .*Query Status: OK.* row_regex: .*SpilledPartitions: .* \([1-9][0-9]*\) ==== +---- QUERY +# Test spilling join with many duplicates in join key. We don't expect this to succeed +# with a memory constraint: see IMPALA-4857. +set buffer_pool_limit=20m; +select * +from lineitem l1 join lineitem l2 on l1.l_linenumber = l2.l_linenumber +---- CATCH +Repartitioning did not reduce the size of a spilled partition +====
