Spark - How to get current date & timestamp
Spark – How to get current date & timestamp
Spark SQL provides current_date() and current_timestamp() functions which returns current system date without timestamp and current system data with timestamp respectively, Let’s see how to get these with Scala and Pyspark examples.
current_date() – function return current system date without time in Spark DateType format “yyyy-MM-dd”
current_timestamp() – function returns current system…
View On WordPress












