Accept minor plan change in xl_join due to different costing
authorTomas Vondra <[email protected]>
Sat, 18 Mar 2017 22:51:50 +0000 (23:51 +0100)
committerTomas Vondra <[email protected]>
Sat, 18 Mar 2017 22:51:50 +0000 (23:51 +0100)
The cost of the RemoteSubplan node changed, most likely due to moving
the Sort pushdown into pathnode.c (instead of in createplan.c).

src/test/regress/expected/xl_join.out

index 2f226f2dd5aa79052e465b1081c8a5a5762907ea..9c1cd3ac1016aab79014a9b24c875780d73ee035 100644 (file)
@@ -9,7 +9,7 @@ EXPLAIN SELECT * FROM xl_join_t1
        INNER JOIN xl_join_t3 ON xl_join_t1.val1 = xl_join_t3.val1;
                                                       QUERY PLAN                                                      
 ----------------------------------------------------------------------------------------------------------------------
- Remote Subquery Scan on all (datanode_1,datanode_2)  (cost=475.52..5209.87 rows=288579 width=24)
+ Remote Subquery Scan on all (datanode_1,datanode_2)  (cost=575.52..13678.66 rows=288579 width=24)
    ->  Merge Join  (cost=475.52..5209.87 rows=288579 width=24)
          Merge Cond: (xl_join_t3.val1 = xl_join_t1.val1)
          ->  Sort  (cost=158.51..164.16 rows=2260 width=8)