[ https://issues.apache.org/jira/browse/IMPALA-8173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16765658#comment-16765658 ]
ASF subversion and git services commented on IMPALA-8173: --------------------------------------------------------- Commit 8b5cb576d23d771456ed571ee0d362d96af6ae13 in impala's branch refs/heads/master from Thomas Tauber-Marshall [ https://gitbox.apache.org/repos/asf?p=impala.git;h=8b5cb57 ] IMPALA-8173: Fix KeyError in run-workload.py 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 <thomasmarsh...@cmu.edu> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> > run-workload.py KeyError on 'query_id' > -------------------------------------- > > Key: IMPALA-8173 > URL: https://issues.apache.org/jira/browse/IMPALA-8173 > Project: IMPALA > Issue Type: Bug > Components: Infrastructure > Affects Versions: Impala 3.2.0 > Reporter: Thomas Tauber-Marshall > Assignee: Thomas Tauber-Marshall > Priority: Major > > A recent commit (IMPALA-7694) broke bin/run-workload.py by requiring that an > ImpalaBeeswaxResult is constructed with a query_id available, which is > violated in query_exec_functions.py > We should fix this, and probably also add an automated test that runs > run-workload.py to prevent regressions like this in the future > [~lv] -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org