Skip to content

Fix literal mappings#132

Merged
thomasp85 merged 1 commit intoposit-dev:mainfrom
thomasp85:issue129-literal-mapping
Feb 18, 2026
Merged

Fix literal mappings#132
thomasp85 merged 1 commit intoposit-dev:mainfrom
thomasp85:issue129-literal-mapping

Conversation

@thomasp85
Copy link
Copy Markdown
Collaborator

Fix #129

This PR fixes two things surfaced by #129. First it fixes the actual error. The issue was that some stats may drop everything not created by themselves and that aren't part of the grouping. The fix is straightforward as we can just add literal mapping columns to the array of grouping columns.

The second issue was the error message which showed the raw internal column names instead of the formatted ones

@thomasp85 thomasp85 added this to the alpha-release milestone Feb 18, 2026
@thomasp85 thomasp85 requested a review from teunbrand February 18, 2026 07:27
Copy link
Copy Markdown
Collaborator

@teunbrand teunbrand left a comment

Choose a reason for hiding this comment

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

Yeah either this or actualising the columns after the stat is computed would make sense to me, thanks!

@thomasp85
Copy link
Copy Markdown
Collaborator Author

We need to do it like this because in theory the stat might need the literal values

@thomasp85 thomasp85 merged commit 6b88e52 into posit-dev:main Feb 18, 2026
3 checks passed
@thomasp85 thomasp85 deleted the issue129-literal-mapping branch February 18, 2026 08: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.

Literal values don't survive stat computation

2 participants