Skip to content

Fix the figures reported by "Rows out" in EXPLAIN ANALYZE - #403

Open
Alena0704 wants to merge 1 commit into
OPENGPDB_STABLEfrom
explain-rows-out-fixes
Open

Fix the figures reported by "Rows out" in EXPLAIN ANALYZE#403
Alena0704 wants to merge 1 commit into
OPENGPDB_STABLEfrom
explain-rows-out-fixes

Conversation

@Alena0704

@Alena0704 Alena0704 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Fix the figures reported by "Rows out" in EXPLAIN ANALYZE

Skip the segments that did not run the node instead of counting them as
workers producing zero rows, report rows per loop so that rescanned
nodes match their own row count, and take the segment numbers relative
to the slice rather than to the insts array.

Taken from GreengageDB/greengage#524, which fixed the feature while
backporting it from here.

Skip the segments that did not run the node instead of counting them as
workers producing zero rows, report rows per loop so that rescanned
nodes match their own row count, and take the segment numbers relative
to the slice rather than to the insts array.

Taken from GreengageDB/greengage#524, which fixed the feature while
backporting it from here.
@Alena0704
Alena0704 force-pushed the explain-rows-out-fixes branch from 9a24b91 to c817210 Compare July 28, 2026 14:51
@Alena0704
Alena0704 marked this pull request as ready for review July 28, 2026 15:36
@Alena0704
Alena0704 marked this pull request as draft July 28, 2026 15:48
@Alena0704
Alena0704 marked this pull request as ready for review July 28, 2026 16:31
@Alena0704
Alena0704 requested a review from andr-sokolov July 29, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant