Skip to content

Conversation

@MisterRaindrop
Copy link
Collaborator

#58


Change logs

Currently, parallel FDW is supported. This implementation depends on the kernel's commit.

apache/cloudberry#1571

Contributor's checklist

Here are some reminders before you submit your pull request:

MisterRaindrop and others added 2 commits February 10, 2026 17:41
- fdw support pg parallel scan
- add parallel scan correctness tests for PXF
@MisterRaindrop MisterRaindrop self-assigned this Feb 10, 2026
@ostinru ostinru self-requested a review February 10, 2026 13:49
// Parallel mode: only process the specified fragment
Fragment specificFragment = fragmenterService.getFragmentByIndex(
context, context.getSpecificFragmentIndex());
fragments = java.util.Collections.singletonList(specificFragment);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: import java.util.Collections?

slock_t mutex; /* mutex for accessing shared state */
int total_fragments; /* total number of fragments */
int next_fragment; /* next fragment index to be assigned */
bool finished; /* true if all fragments have been processed */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true if all fragments have been processed... or cancelled?

And. What is a purpose of write-only variable?

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.

2 participants