Files
impala/tests/util
Michael Brown 0047191262 IMPALA-7693: stress test: fix Query().name
In the refactor as part of IMPALA-7460, loading of TPC queries no longer
returned query names (i.e., Q37). The name's presence doesn't change the
behavior of the stress test, but it does lead to nicer debuggable and
reable things, like log messages, profiles, result hashes, and runtime
info.

- Change load_tpc_queries() to return a dictionary, not a list.
- Set the .name attribute.
- Enhance the unit test to at least ensure load_tpc_queries() does not
  regress again.

Testing, in addition to passing test above:
- Ran stress test and performed binary search. Made sure query names
  were present in logging, runtime info, result hashes, and profiles.

Change-Id: Ie8c40beababf4c122dc8fed6c0544ee37871b9b2
Reviewed-on: http://gerrit.cloudera.org:8080/11651
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Michael Brown <mikeb@cloudera.com>
2018-10-11 16:43:14 +00:00
..