summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Deolasee2015-06-24 09:32:36 +0000
committerPavan Deolasee2015-06-24 09:32:36 +0000
commit3673b1a499667cacc0e099409c71a33924136a22 (patch)
tree51b52bf59557cf9bd8f52849918b96cbf3f26708
parentad0fa84f05f6754c3be2ca24bbaa6e760fb03b22 (diff)
Do not show node information in the test case 'union'.
Change the sql and the expected output accordingly
-rw-r--r--src/test/regress/expected/union.out8
-rw-r--r--src/test/regress/sql/union.sql2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/test/regress/expected/union.out b/src/test/regress/expected/union.out
index 5e5d742cf1..cbc4a90655 100644
--- a/src/test/regress/expected/union.out
+++ b/src/test/regress/expected/union.out
@@ -700,20 +700,20 @@ as $$begin return $1; end$$;
create temp table t3 as select generate_series(-1000,1000) as x;
create index t3i on t3 (expensivefunc(x));
analyze t3;
-explain (costs off)
+explain (num_nodes off, nodes off, costs off)
select * from
(select * from t3 a union all select * from t3 b) ss
join int4_tbl on f1 = expensivefunc(x);
QUERY PLAN
------------------------------------------------------------------
Nested Loop
- -> Remote Subquery Scan on all (datanode_2)
+ -> Remote Subquery Scan on all
-> Seq Scan on int4_tbl
-> Append
- -> Remote Subquery Scan on all (datanode_1,datanode_2)
+ -> Remote Subquery Scan on all
-> Index Scan using t3i on t3 a
Index Cond: (expensivefunc(x) = int4_tbl.f1)
- -> Remote Subquery Scan on all (datanode_1,datanode_2)
+ -> Remote Subquery Scan on all
-> Index Scan using t3i on t3 b
Index Cond: (expensivefunc(x) = int4_tbl.f1)
(10 rows)
diff --git a/src/test/regress/sql/union.sql b/src/test/regress/sql/union.sql
index d60d47e8f3..5b251fcb8f 100644
--- a/src/test/regress/sql/union.sql
+++ b/src/test/regress/sql/union.sql
@@ -310,7 +310,7 @@ create temp table t3 as select generate_series(-1000,1000) as x;
create index t3i on t3 (expensivefunc(x));
analyze t3;
-explain (costs off)
+explain (num_nodes off, nodes off, costs off)
select * from
(select * from t3 a union all select * from t3 b) ss
join int4_tbl on f1 = expensivefunc(x);