Github user cloud-fan commented on the issue:
https://github.com/apache/spark/pull/20015
We had an offline discussion and wanna send this out to get more feedbacks.
So generally just adding `date_trunc` is pretty straightforward and makes Spark
consistent with other databases about this function, while extending `trunc` to
support timestamp type is a better API design.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]