Skip to content

fix: Select lineDensity series and groupby columns into the base query - #1198

Draft
domoritz wants to merge 1 commit into
mainfrom
sql-fix/F-TR-02
Draft

fix: Select lineDensity series and groupby columns into the base query#1198
domoritz wants to merge 1 commit into
mainfrom
sql-fix/F-TR-02

Conversation

@domoritz

@domoritz domoritz commented Sep 3, 2026

Copy link
Copy Markdown
Member

Fixes #1193. Part of the audit tracked in #1170.

Note: This fix was created by Claude (an agent team ran a binder-error audit of the SQL layer; the fix went through automated implementation, simplification, and adversarial review passes).

What changed

lineDensity now selects its z and groupby columns into the base query when they are not already among its select aliases, so the pairs CTE can partition by them. Callers that pre-select aliased channels (vgplot's DenseLineMark) are unchanged: the added columns only fill in what is missing. Binder-backed tests cover z, groupby, and the pre-selected case.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DEmcoxyFx2BRM5BbmJGFsa

Fixes #1193.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

lineDensity references series/groupby columns the base query never selects

1 participant