Skip to content

docs: add docs on morsel driven parallelism#242

Closed
adsharma wants to merge 1 commit intomasterfrom
docs_morsel
Closed

docs: add docs on morsel driven parallelism#242
adsharma wants to merge 1 commit intomasterfrom
docs_morsel

Conversation

@adsharma
Copy link
Copy Markdown
Contributor

TBD: add some preamble on why morsel driven parallelism is needed in the first place

@adsharma adsharma mentioned this pull request Feb 26, 2026
│ ┌────────────────────────────────────────────────────────┐ │
│ │ getNextTuplesInternal() - Main scan loop │ │
│ │ ├─ calls table->scan(transaction, scanState) │ │
│ │ ├─ calls nextMorsel() when table scan exhausted │ │
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

batch scan*


- **Status**: Partially correct
- **Analysis**:
- `currentBatchOffset` is used for data copying position (`copyArrowBatchToOutputVectors`)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we could just rename the funct to copyArrowBatchMorselToOutputVectors

@aheev
Copy link
Copy Markdown
Contributor

aheev commented Mar 3, 2026

@adsharma this needs a full overhaul as per the recent changes

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