summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Deolasee2017-06-28 09:32:18 +0000
committerPavan Deolasee2017-06-28 09:32:18 +0000
commitab87bf147d60a3ca25bc67b760608558a1dce178 (patch)
tree5d4312022d33569501b937942a374f3a55039b30
parent27c21f3590bec37730ab2468c44c7e85e0b2f985 (diff)
Accept expected out changes for 'create_index' test case
It simply adds a new Remote Subquery Scan or Remote FQS node on top of the plan obtained on PG
-rw-r--r--src/test/regress/expected/create_index.out54
1 files changed, 31 insertions, 23 deletions
diff --git a/src/test/regress/expected/create_index.out b/src/test/regress/expected/create_index.out
index bccb6920dd..acf85f14c6 100644
--- a/src/test/regress/expected/create_index.out
+++ b/src/test/regress/expected/create_index.out
@@ -3057,41 +3057,49 @@ explain (costs off)
create temp table boolindex (b bool, i int, unique(b, i), junk float);
explain (costs off)
select * from boolindex order by b, i limit 10;
- QUERY PLAN
--------------------------------------------------------
+ QUERY PLAN
+-------------------------------------------------------------------
Limit
- -> Index Scan using boolindex_b_i_key on boolindex
-(2 rows)
+ -> Remote Subquery Scan on all (datanode_1,datanode_2)
+ -> Limit
+ -> Index Scan using boolindex_b_i_key on boolindex
+(4 rows)
explain (costs off)
select * from boolindex where b order by i limit 10;
- QUERY PLAN
--------------------------------------------------------
+ QUERY PLAN
+-------------------------------------------------------------------
Limit
- -> Index Scan using boolindex_b_i_key on boolindex
- Index Cond: (b = true)
- Filter: b
-(4 rows)
+ -> Remote Subquery Scan on all (datanode_1,datanode_2)
+ -> Limit
+ -> Index Scan using boolindex_b_i_key on boolindex
+ Index Cond: (b = true)
+ Filter: b
+(6 rows)
explain (costs off)
select * from boolindex where b = true order by i desc limit 10;
- QUERY PLAN
-----------------------------------------------------------------
- Limit
- -> Index Scan Backward using boolindex_b_i_key on boolindex
- Index Cond: (b = true)
- Filter: b
-(4 rows)
+ QUERY PLAN
+----------------------------------------------------------------------
+ Remote Fast Query Execution
+ Node/s: datanode_1
+ -> Limit
+ -> Index Scan Backward using boolindex_b_i_key on boolindex
+ Index Cond: (b = true)
+ Filter: b
+(6 rows)
explain (costs off)
select * from boolindex where not b order by i limit 10;
- QUERY PLAN
--------------------------------------------------------
+ QUERY PLAN
+-------------------------------------------------------------------
Limit
- -> Index Scan using boolindex_b_i_key on boolindex
- Index Cond: (b = false)
- Filter: (NOT b)
-(4 rows)
+ -> Remote Subquery Scan on all (datanode_1,datanode_2)
+ -> Limit
+ -> Index Scan using boolindex_b_i_key on boolindex
+ Index Cond: (b = false)
+ Filter: (NOT b)
+(6 rows)
--
-- REINDEX (VERBOSE)