summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Deolasee2018-05-15 12:25:35 +0000
committerPavan Deolasee2018-05-21 06:22:10 +0000
commitcd808dfce15282712fd7ca3c022feda07cbcc4ce (patch)
tree39e0fc924c37455f9b356e5a91092c362c066727
parent8ba1e71f31f39c3da7d52e8f6e46bddfe872f2cd (diff)
Accept regression diffs in join test case
The plans now look the same as vanilla PG except for additional Remote Fast Query Execution nodes
-rw-r--r--src/test/regress/expected/join.out27
1 files changed, 9 insertions, 18 deletions
diff --git a/src/test/regress/expected/join.out b/src/test/regress/expected/join.out
index 786791a4aa..0534f9d7da 100644
--- a/src/test/regress/expected/join.out
+++ b/src/test/regress/expected/join.out
@@ -3046,28 +3046,19 @@ explain (costs off)
select * from
tenk1, int8_tbl a, int8_tbl b
where thousand = a.q1 and tenthous = b.q1 and a.q2 = 1 and b.q2 = 2;
- QUERY PLAN
----------------------------------------------------------
+ QUERY PLAN
+---------------------------------------------------------------------------
Remote Fast Query Execution
Node/s: datanode_1, datanode_2
- -> Merge Join
- Merge Cond: (tenk1.thousand = a.q1)
- -> Sort
- Sort Key: tenk1.thousand
- -> Merge Join
- Merge Cond: (tenk1.tenthous = b.q1)
- -> Sort
- Sort Key: tenk1.tenthous
- -> Seq Scan on tenk1
- -> Sort
- Sort Key: b.q1
- -> Seq Scan on int8_tbl b
- Filter: (q2 = 2)
- -> Sort
- Sort Key: a.q1
+ -> Nested Loop
+ -> Seq Scan on int8_tbl b
+ Filter: (q2 = 2)
+ -> Nested Loop
-> Seq Scan on int8_tbl a
Filter: (q2 = 1)
-(19 rows)
+ -> Index Scan using tenk1_thous_tenthous on tenk1
+ Index Cond: ((thousand = a.q1) AND (tenthous = b.q1))
+(10 rows)
--
-- test a corner case in which we shouldn't apply the star-schema optimization