Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor window aggregation, simplify batch processing logic #516

Merged
merged 2 commits into from
Jun 7, 2021

Conversation

jimexist
Copy link
Member

@jimexist jimexist commented Jun 6, 2021

Which issue does this PR close?

related #299 and #360
based on #515

Rationale for this change

simplify batch processing logic for window functions, so that instead of batch by batch we'll in next pull request switch to partition by partition process, which requires all input batches to be gathered together first

What changes are included in this PR?

  1. simplify batch processing for window function
  2. remove async for window aggregate function
  3. make sure integration tests stay the same

Are there any user-facing changes?

@jimexist jimexist marked this pull request as draft June 6, 2021 07:06
@jimexist jimexist marked this pull request as ready for review June 6, 2021 07:48
@jimexist jimexist force-pushed the refactor-window branch 2 times, most recently from 6a89e50 to 30548d6 Compare June 7, 2021 11:59
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

looks like a nice improvement to me

@alamb alamb merged commit 2f73e79 into apache:master Jun 7, 2021
@jimexist jimexist deleted the refactor-window branch June 7, 2021 16:58
@houqp houqp added the datafusion Changes in the datafusion crate label Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datafusion Changes in the datafusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants