zero323 commented on pull request #30107:
URL: https://github.com/apache/spark/pull/30107#issuecomment-713155178
I have mixed feelings about this. At the moment we can easily use `when` to
handle this use case
```scala
count(when(df("id") < 50, 1))
```
It doesn't require extensions of the DSL, and it is in practice as concise
and (arguably) as readable as the proposed addition.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]