mirror of
https://github.com/apache/impala.git
synced 2026-02-03 18:00:39 -05:00
A recent change (IMPALA-7694) causes run-workload.py to fail with a KeyError due to trying to construct an ImpalaBeeswaxResult without a query id. This patch fixes that issue and two related issues: - This problem was not caught by automated testing even though we run run-workload.py in run-all-tests.sh because of an issue where queries that fail to produce results are silently ignored. - Fixes an issue where queries that fail to produce results would confusingly produce the error: 'NoneType' object has no attribute 'time_taken' Testing: - Ran run-workload.py locally and demonstrated that it works now. - Ran run-all-tests.sh locally and demonstrated that it fails now when the KeyError issue isn't fixed. Change-Id: I5b8a3c3dd7499335b9290d5667c194e8c0eabd12 Reviewed-on: http://gerrit.cloudera.org:8080/12397 Reviewed-by: Thomas Marshall <thomasmarshall@cmu.edu> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
10 KiB
10 KiB