timsaucer opened a new pull request, #836:
URL: https://github.com/apache/datafusion-python/pull/836
# 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`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]