Skip to content

Conversation

@timsaucer
Copy link
Member

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
@timsaucer timsaucer force-pushed the feature/expose-when-function branch from e4fe3c1 to 5236b5d Compare August 28, 2024 08:42
@andygrove andygrove merged commit 003eea8 into apache:main Aug 30, 2024
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