timsaucer commented on issue #862:
URL: 
https://github.com/apache/datafusion-python/issues/862#issuecomment-2336458296

   Oh, I just realized that might not work since `functions.when` was recently 
exposed. You would need to do something like `F.case(col("count") != 
lit(0)).when(lit(True), col("count")).end()` instead


-- 
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]

Reply via email to