Skip to content

Conversation

@AdMub
Copy link

@AdMub AdMub commented Jan 22, 2026

I investigated Issue #1300 and confirmed that the crash occurs because first_value (an aggregate function) is used inside .select(), which is not supported by the physical planner. This PR updates the docstring to explicitly warn users that first_value should be used with .aggregate() and not .select(). Closes #1300.

AdMub added 2 commits January 22, 2026 06:14
Clarifies that aggregate functions like first_value must be used within .aggregate() and not .select(). Closes apache#1300.
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.

first_value doesn't work when applied to window function output

1 participant