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

Feature/expose when function #836

Merged
merged 2 commits into from
Aug 30, 2024

Conversation

timsaucer
Copy link
Contributor

Which issue does this PR close?

None.

Rationale for this change

We already have case functions exposed, but we do not have the when function exposed, which gives you the ability to do conditional statements without a base. This PR just exposes the function already available in DataFusion.

What changes are included in this PR?

  • Exposed when in functions.
  • Add unit test.

Are there any user-facing changes?

Adds datafusion.functions.when.

@timsaucer timsaucer mentioned this pull request Aug 27, 2024
9 tasks
@andygrove andygrove merged commit 003eea8 into apache:main Aug 30, 2024
15 checks passed
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.

3 participants