Skip to content

Fix Rule 2: eager table spools no longer flagged as eager index spools#160

Merged
erikdarlingdata merged 1 commit intodevfrom
fix/eager-index-spool-false-positive
Mar 30, 2026
Merged

Fix Rule 2: eager table spools no longer flagged as eager index spools#160
erikdarlingdata merged 1 commit intodevfrom
fix/eager-index-spool-false-positive

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

  • Rule 2 checked PhysicalOp.Contains("Spool") which matched both "Index Spool" and "Table Spool"
  • Changed to PhysicalOp.Contains("Index") to only match eager index spools
  • Added negative test with an eager table spool plan (dba-days-update.sqlplan)

Synced fix to PerformanceMonitor in erikdarlingdata/PerformanceMonitor#693.

🤖 Generated with Claude Code

…index spools

The condition checked PhysicalOp.Contains("Spool") which matched both
"Index Spool" and "Table Spool". Now checks for "Index" specifically.
Added negative test with an eager table spool plan.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 49847ed into dev Mar 30, 2026
2 checks passed
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