Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@max-sixty
Copy link
Member

Summary

  • Fix join inside a group clause causes panic #5280: join inside group clause caused panic when referencing outer table
  • Now returns helpful error: "column references a table not accessible in this context" with hint "join is not supported inside group"
  • Added comments documenting similar .unwrap() patterns that could theoretically panic

Test plan

  • Added test_join_with_inaccessible_table test verifying error is returned
  • All 615 tests pass
  • Clippy clean

🤖 Generated with Claude Code

Previously, a join inside a group clause that referenced an outer table
would panic. Now returns a helpful error message with hint.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@max-sixty max-sixty merged commit 75d6b8b into PRQL:main Nov 29, 2025
36 checks passed
@max-sixty max-sixty deleted the 5280 branch November 29, 2025 19:54
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.

join inside a group clause causes panic

1 participant