Skip to content

Fix false positive parallel skew warning at DOP 2#74

Merged
erikdarlingdata merged 1 commit intodevfrom
fix/issue-73-skew-dop2
Mar 10, 2026
Merged

Fix false positive parallel skew warning at DOP 2#74
erikdarlingdata merged 1 commit intodevfrom
fix/issue-73-skew-dop2

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • Filter out thread 0 (coordinator) from skew calculation — it does 0 rows in parallel operators but inflates the thread count
  • Raise DOP 2 threshold from 75% to 80% — a 53/47 split with 2 workers is normal

Fixes #73.

Test plan

  • All 48 existing tests pass
  • DOP 2 plan with 53/47 split no longer triggers Parallel Skew warning
  • DOP 4+ plans with genuine skew still trigger correctly

🤖 Generated with Claude Code

Filter out thread 0 (coordinator) from skew calculation since it
typically processes 0 rows in parallel operators, inflating the thread
count. Raise the DOP 2 threshold from 75% to 80% — a 53/47 split is
perfectly normal with only 2 worker threads.

Fixes #73.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 7f57489 into dev Mar 10, 2026
2 checks passed
@erikdarlingdata erikdarlingdata deleted the fix/issue-73-skew-dop2 branch March 10, 2026 11:48
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