On Fri, Nov 22, 2024 at 5:40 PM Andrei Lepikhov <lepi...@gmail.com> wrote: > I wonder if it would be possible to print only three rows instead of 10 > to prove the DISTINCT's correctness.
There are ten distinct values in the 'distinct_tbl' test table, so I think it’d better to print all of them to verify correctness. > Also, to stabilise tests with parallel workers, I would recommend > setting max_parallel_workers_per_gather into 1 and enabling > debug_parallel_query. Since we're testing sort-based DISTINCT, the results will always be well-ordered, so they should be pretty stable as is. I've applied some of the changes you suggested in your previous email and pushed the updated patch. Thank you for your review. Thanks Richard