Files
impala/testdata/workloads/functional-query/queries/QueryTest/disk-spill-encryption.test
Tim Armstrong c4f903033c IMPALA-3200: more buffer pool end-to-end tests
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
2017-08-07 00:57:46 +00:00

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]*\)
====