Change expected output for test case xc_FQS_join now that queries are properly
authorPavan Deolasee <[email protected]>
Mon, 25 Jan 2016 10:22:51 +0000 (15:52 +0530)
committerPavan Deolasee <[email protected]>
Mon, 25 Jan 2016 10:22:51 +0000 (15:52 +0530)
FQSed to the remote (via 1083af3fa)

src/test/regress/expected/xc_FQS_join.out

index 730fe409386b5839a1d0ebf1519e87b070e5d9db..85447b07d271136dab7c8434dfe03f7ee07e14a1 100644 (file)
@@ -355,10 +355,11 @@ select * from tab1_mod natural join tab1_rep
 
 explain (verbose on, nodes off, costs off) select * from tab1_mod natural join tab1_rep
                        where tab1_mod.val > 2 and tab1_rep.val < 4;
-                                       QUERY PLAN                                        
------------------------------------------------------------------------------------------
- Remote Subquery Scan on all
+                                                                      QUERY PLAN                                                                      
+------------------------------------------------------------------------------------------------------------------------------------------------------
+ Remote Fast Query Execution
    Output: tab1_mod.val, tab1_mod.val2
+   Remote query: SELECT tab1_mod.val, tab1_mod.val2 FROM (tab1_mod JOIN tab1_rep USING (val, val2)) WHERE ((tab1_mod.val > 2) AND (tab1_rep.val < 4))
    ->  Merge Join
          Output: tab1_mod.val, tab1_mod.val2
          Merge Cond: ((tab1_mod.val = tab1_rep.val) AND (tab1_mod.val2 = tab1_rep.val2))
@@ -374,7 +375,7 @@ explain (verbose on, nodes off, costs off) select * from tab1_mod natural join t
                ->  Seq Scan on public.tab1_rep
                      Output: tab1_rep.val, tab1_rep.val2
                      Filter: (tab1_rep.val < 4)
-(17 rows)
+(18 rows)
 
 -- Join involving one distributed and one replicated table, with replicated
 -- table existing on only some of the nodes where distributed table exists.
@@ -473,10 +474,11 @@ select * from tab2_rep natural join tab4_rep natural join tab2_mod
 
 explain (verbose on, nodes off, costs off) select * from tab2_rep natural join tab4_rep natural join tab2_mod
                        where tab2_rep.val > 2 and tab4_rep.val < 4;
-                                             QUERY PLAN                                              
------------------------------------------------------------------------------------------------------
- Remote Subquery Scan on all
+                                                                                       QUERY PLAN                                                                                       
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+ Remote Fast Query Execution
    Output: tab2_rep.val, tab2_rep.val2
+   Remote query: SELECT tab2_rep.val, tab2_rep.val2 FROM ((tab2_rep JOIN tab4_rep USING (val, val2)) JOIN tab2_mod USING (val, val2)) WHERE ((tab2_rep.val > 2) AND (tab4_rep.val < 4))
    ->  Hash Join
          Output: tab2_rep.val, tab2_rep.val2
          Hash Cond: ((tab2_mod.val = tab2_rep.val) AND (tab2_mod.val2 = tab2_rep.val2))
@@ -499,7 +501,7 @@ explain (verbose on, nodes off, costs off) select * from tab2_rep natural join t
                            ->  Seq Scan on public.tab4_rep
                                  Output: tab4_rep.val, tab4_rep.val2
                                  Filter: (tab4_rep.val < 4)
-(24 rows)
+(25 rows)
 
 select * from tab4_rep natural join tab2_rep natural join tab2_mod
                        where tab2_rep.val > 2 and tab4_rep.val < 4;
@@ -514,10 +516,11 @@ select * from tab4_rep natural join tab2_rep natural join tab2_mod
 
 explain (verbose on, nodes off, costs off) select * from tab4_rep natural join tab2_rep natural join tab2_mod
                        where tab2_rep.val > 2 and tab4_rep.val < 4;
-                                             QUERY PLAN                                              
------------------------------------------------------------------------------------------------------
- Remote Subquery Scan on all
+                                                                                       QUERY PLAN                                                                                       
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+ Remote Fast Query Execution
    Output: tab4_rep.val, tab4_rep.val2
+   Remote query: SELECT tab4_rep.val, tab4_rep.val2 FROM ((tab4_rep JOIN tab2_rep USING (val, val2)) JOIN tab2_mod USING (val, val2)) WHERE ((tab2_rep.val > 2) AND (tab4_rep.val < 4))
    ->  Hash Join
          Output: tab4_rep.val, tab4_rep.val2
          Hash Cond: ((tab2_mod.val = tab4_rep.val) AND (tab2_mod.val2 = tab4_rep.val2))
@@ -540,7 +543,7 @@ explain (verbose on, nodes off, costs off) select * from tab4_rep natural join t
                            ->  Seq Scan on public.tab2_rep
                                  Output: tab2_rep.val, tab2_rep.val2
                                  Filter: (tab2_rep.val > 2)
-(24 rows)
+(25 rows)
 
 select * from tab2_rep natural join tab2_mod natural join tab4_rep
                        where tab2_rep.val > 2 and tab4_rep.val < 4;