Skip to content

fix: Add avg alias and fix aggregation group_by_keys#6294

Open
cutoutsy wants to merge 1 commit intofeast-dev:masterfrom
cutoutsy:fix/aggregation-alias-and-aggregation-by-keys
Open

fix: Add avg alias and fix aggregation group_by_keys#6294
cutoutsy wants to merge 1 commit intofeast-dev:masterfrom
cutoutsy:fix/aggregation-alias-and-aggregation-by-keys

Conversation

@cutoutsy
Copy link
Copy Markdown
Contributor

@cutoutsy cutoutsy commented Apr 17, 2026

  • Add "avg" -> "mean" function alias for aggregation
  • Fix group_by_keys retrieval in LocalFeatureBuilder to use column_info.join_keys

Open with Devin

@cutoutsy cutoutsy requested a review from a team as a code owner April 17, 2026 08:33
@cutoutsy cutoutsy force-pushed the fix/aggregation-alias-and-aggregation-by-keys branch from e40e3ba to 521e742 Compare April 17, 2026 08:35
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

- Add "avg" -> "mean" function alias for aggregation
- Fix group_by_keys retrieval in LocalFeatureBuilder to use column_info.join_keys

Signed-off-by: cutoutsy <cutoutsy@gmail.com>
@ntkathole ntkathole force-pushed the fix/aggregation-alias-and-aggregation-by-keys branch from 521e742 to 2126ace Compare April 21, 2026 03:53
)
group_by_keys = view.entities
column_info = self.get_column_info(view)
group_by_keys = column_info.join_keys
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks like both Spark and Ray build_aggregation_node implementations have the identical issue ?
@cutoutsy can we fix it as well ?

@ntkathole
Copy link
Copy Markdown
Member

Let's have a test case as well ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants