mirror of
https://github.com/apache/impala.git
synced 2026-01-02 03:00:32 -05:00
This adds most of the end-to-end tests described in the test plan. See http://goo.gl/v3Strz. * End-to-end test for disk spill encryption. * Admission control test for the case when acquiring initial reservation fails. * Initial reservation acquire failure test * scratch_limit tests for Join, Agg, Sort, Analytic * Memory usage scaling tests for Join, Agg, Sort, Analytic Also splits out the slow sort queries in test_spilling and moves them to exhaustive so the individual tests run faster and have better parallelism. Testing: Ran all the core tests. Will do a full exhaustive run before committing. Change-Id: I554aa5ddfef4f8e75295596e720a14eee1afa17f Reviewed-on: http://gerrit.cloudera.org:8080/7552 Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com> Tested-by: Impala Public Jenkins
16 lines
343 B
Plaintext
16 lines
343 B
Plaintext
====
|
|
---- QUERY
|
|
set buffer_pool_limit=10m;
|
|
set default_spillable_buffer_size=64k;
|
|
select count(*)
|
|
from (select distinct o_orderdate, o_custkey, o_comment
|
|
from tpch_parquet.orders) v;
|
|
---- RESULTS
|
|
1500000
|
|
---- TYPES
|
|
BIGINT
|
|
---- RUNTIME_PROFILE
|
|
# Verify that spilling was activated.
|
|
row_regex: .*SpilledPartitions: .* \([1-9][0-9]*\)
|
|
====
|