sparkbyexamples.com
Spark Timestamp - Extract hour, minute and second
Problem: How to extract or get an hour, minute and second from a Spark timestamp column? Solution: Spark functions provides hour(), minute() and second()
Naveen Nelamali