Accept regression diffs in alter_table test
authorPavan Deolasee <pavan.deolasee@gmail.com>
Tue, 17 Apr 2018 09:16:25 +0000 (14:46 +0530)
committerPavan Deolasee <pavan.deolasee@gmail.com>
Tue, 17 Apr 2018 09:16:25 +0000 (14:46 +0530)
Just addition of RemoteSubquery scan nodes.

src/test/regress/expected/alter_table.out

index 7020a55953ca9b95b174625afd4a46fb61363b57..36df9bb956080ee9b32b6c491dbb1c8af474e531 100644 (file)
@@ -2221,11 +2221,13 @@ View definition:
    FROM at_view_1 v1;
 
 explain (verbose, costs off) select * from at_view_2;
-                        QUERY PLAN                        
-----------------------------------------------------------
- Seq Scan on public.at_base_table bt
+                           QUERY PLAN                           
+----------------------------------------------------------------
+ Remote Subquery Scan on all (datanode_1,datanode_2)
    Output: bt.id, bt.stuff, to_json(ROW(bt.id, bt.stuff))
-(2 rows)
+   ->  Seq Scan on public.at_base_table bt
+         Output: bt.id, bt.stuff, to_json(ROW(bt.id, bt.stuff))
+(4 rows)
 
 select * from at_view_2;
  id | stuff  |             j              
@@ -2261,11 +2263,13 @@ View definition:
    FROM at_view_1 v1;
 
 explain (verbose, costs off) select * from at_view_2;
-                           QUERY PLAN                           
-----------------------------------------------------------------
- Seq Scan on public.at_base_table bt
+                              QUERY PLAN                              
+----------------------------------------------------------------------
+ Remote Subquery Scan on all (datanode_1,datanode_2)
    Output: bt.id, bt.stuff, to_json(ROW(bt.id, bt.stuff, NULL))
-(2 rows)
+   ->  Seq Scan on public.at_base_table bt
+         Output: bt.id, bt.stuff, to_json(ROW(bt.id, bt.stuff, NULL))
+(4 rows)
 
 select * from at_view_2;
  id | stuff  |                   j