diff -w -U3 C:/cirrus/src/test/regress/expected/subselect.out C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/subselect.out --- C:/cirrus/src/test/regress/expected/subselect.out 2024-02-23 01:24:04.543878400 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/subselect.out 2024-02-23 01:28:30.460391900 +0000 @@ -2016,16 +2016,16 @@ QUERY PLAN ------------------------------------------------- Hash Join - Hash Cond: (c.odd = b.odd) + Hash Cond: (c.hundred = a.hundred) -> Hash Join - Hash Cond: (a.hundred = c.hundred) - -> Seq Scan on tenk1 a + Hash Cond: (b.odd = c.odd) + -> Seq Scan on tenk2 b -> Hash -> HashAggregate Group Key: c.odd, c.hundred -> Seq Scan on tenk2 c -> Hash - -> Seq Scan on tenk2 b + -> Seq Scan on tenk1 a (11 rows) -- we can pull up the aggregate sublink into RHS of a left join.