IMPALA-6495: fix targeted-perf for new column alias syntax

I was able to run bin/single_node_perf_run.py after these changes.

Change-Id: Ib25139873b1c67f8039ac6c85e936135e008101b
Reviewed-on: http://gerrit.cloudera.org:8080/9268
Reviewed-by: Philip Zeyliger <phi...@cloudera.com>
Tested-by: Tim Armstrong <tarmstr...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/31514219
Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/31514219
Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/31514219

Branch: refs/heads/master
Commit: 3151421902e1373d483dd784f4241bf3caa0ceea
Parents: 5aa28b1
Author: Tim Armstrong <tarmstr...@cloudera.com>
Authored: Wed Feb 7 08:46:45 2018 -0800
Committer: Tim Armstrong <tarmstr...@cloudera.com>
Committed: Fri Feb 9 16:49:54 2018 +0000

----------------------------------------------------------------------
 .../primitive_shuffle_join_one_to_many_string_with_groupby.test    | 2 +-
 .../queries/primitive_shuffle_join_union_all_with_groupby.test     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/31514219/testdata/workloads/targeted-perf/queries/primitive_shuffle_join_one_to_many_string_with_groupby.test
----------------------------------------------------------------------
diff --git 
a/testdata/workloads/targeted-perf/queries/primitive_shuffle_join_one_to_many_string_with_groupby.test
 
b/testdata/workloads/targeted-perf/queries/primitive_shuffle_join_one_to_many_string_with_groupby.test
index fd90d8a..3ca78cf 100644
--- 
a/testdata/workloads/targeted-perf/queries/primitive_shuffle_join_one_to_many_string_with_groupby.test
+++ 
b/testdata/workloads/targeted-perf/queries/primitive_shuffle_join_one_to_many_string_with_groupby.test
@@ -11,7 +11,7 @@ JOIN /* +shuffle */
   ( SELECT upper(concat(cast(o_orderkey AS string),'bla')) o_orderkey_string
    FROM orders) o ON l.l_orderkey_string = o.o_orderkey_string
 GROUP BY o.o_orderkey_string
-HAVING cnt = 999999;
+HAVING count(*) = 999999;
 ---- RESULTS
 ---- TYPES
 ====

http://git-wip-us.apache.org/repos/asf/impala/blob/31514219/testdata/workloads/targeted-perf/queries/primitive_shuffle_join_union_all_with_groupby.test
----------------------------------------------------------------------
diff --git 
a/testdata/workloads/targeted-perf/queries/primitive_shuffle_join_union_all_with_groupby.test
 
b/testdata/workloads/targeted-perf/queries/primitive_shuffle_join_union_all_with_groupby.test
index 6295274..4aebb80 100644
--- 
a/testdata/workloads/targeted-perf/queries/primitive_shuffle_join_union_all_with_groupby.test
+++ 
b/testdata/workloads/targeted-perf/queries/primitive_shuffle_join_union_all_with_groupby.test
@@ -20,7 +20,7 @@ FROM (
     GROUP BY l_orderkey
     ) a
 GROUP BY l_orderkey
-HAVING ROWCOUNT = 99999999;
+HAVING count(*) = 99999999;
 ---- RESULTS
 ---- TYPES
 ====

Reply via email to