Skip to content

fix: validate GroupBy nested sort paths - #2007

Open
mvanhorn wants to merge 2 commits into
Kotlin:masterfrom
mvanhorn:fix/780-groupby-sort-and-sortby-vague-error-reporting
Open

fix: validate GroupBy nested sort paths#2007
mvanhorn wants to merge 2 commits into
Kotlin:masterfrom
mvanhorn:fix/780-groupby-sort-and-sortby-vague-error-reporting

Conversation

@mvanhorn

Copy link
Copy Markdown

Route the public GroupBy.sortBy and GroupBy.sortByDesc selector overloads through one internal validation flow, retaining their existing signatures and sorting behavior. GroupBy.sortBy currently resolves selectors against both the individual group frames and the outer grouped dataframe with UnresolvedColumnsPolicy.Skip.

Verify the valid nested path pathOf("group", "group", "salary_in_usd") still sorts grouped salary rows in ascending and descending order; Verify GroupBy.sortBy and GroupBy.sortByDesc both reject pathOf("group", "salaryInUsd") and report the missing nested path consistently, without the column-group sort-flag message.

Fixes #780

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.

GroupBy.sort and sortBy vague error reporting

1 participant