fanfuxiaoran commented on PR #670:
URL: https://github.com/apache/cloudberry/pull/670#issuecomment-2507454697

   >> In parallel plan cases, what do the statistic results should be? Do 
current codes compute results right or it's already as expected?
   Maybe the current codes don't need to do anything else more, but we should 
be clear about that.
   
   Yes, agree! Looks we don't a lot things for the parallel workers. Cloudberry 
uses motion to gather the slice result both from workers on different segments 
and from the parallel worker on same segment . So the EXPLAIN ANALYZE command 
can still work properly to collect results from all workers.
   
   But we should confirm the EXPLAIN ANALYZE output format for the plan 
contains parallel workers.  what should it be like?
   ```
    Rows out: 333333.33 rows avg x 3 workers, 1000000 rows max (seg1), 0 rows 
min (seg0).
   ```
   Do we need to add the parallel worker info into this line? like 
   ```
    Rows out: 333333.33 rows avg x 3 workers from xx segments?, 1000000 rows 
max (seg1 worker?), 0 rows min (seg0 worker?).
   ```


-- 
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]

Reply via email to