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

Search default window functions if no session context was provided #963

Merged

Conversation

timsaucer
Copy link
Contributor

Which issue does this PR close?

None

Rationale for this change

During testing of the DF 43.0.0 release we discovered that the datafusion.functions.window would fail to find default window functions if a session context is not provided.

What changes are included in this PR?

Search for default window functions in addition to default aggregate functions.

Are there any user-facing changes?

None, internal only.

@timsaucer timsaucer marked this pull request as draft December 3, 2024 22:32
Copy link
Member

@andygrove andygrove left a comment

Choose a reason for hiding this comment

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

Thanks @timsaucer

@timsaucer timsaucer marked this pull request as ready for review December 4, 2024 00:39
@timsaucer
Copy link
Contributor Author

@andygrove I made one more small change. After this, I'm good from my internal repo unit tests

@timsaucer timsaucer merged commit 79c22d6 into apache:main Dec 4, 2024
15 checks passed
@timsaucer timsaucer deleted the bugfix/default-window-function-search branch December 4, 2024 10:56
andygrove pushed a commit that referenced this pull request Dec 4, 2024
)

* Search default window functions if no session context was provided

* Check if value is None because [] don't trigger the intended behavior
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.

2 participants