yjhjstz commented on code in PR #906: URL: https://github.com/apache/cloudberry/pull/906#discussion_r1947484951
########## src/test/singlenode_regress/expected/subselect.out: ########## @@ -1709,11 +1709,15 @@ select * from x where f1 = 1; explain (verbose, costs off) with x as (select * from (select f1, random() from subselect_tbl) ss) select * from x where f1 = 1; - QUERY PLAN --------------------------------------- - Seq Scan on public.subselect_tbl - Output: subselect_tbl.f1, random() - Filter: (subselect_tbl.f1 = 1) + QUERY PLAN +---------------------------------------------------- + Subquery Scan on x Review Comment: Because gp_cte_sharing is enabled, it will generate a Shared Scan plan as the cte plan in postgres by commit f85f5ce10fd7538150a1bd66e59e21e7eb560c28 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
