2015-12-07 8 views

Odpowiedz

9

Spróbuj funkcji current_timestamp.

current_timestamp() - Returns the current timestamp at the start of query evaluation. All calls of current_timestamp within the same query return the same value. 
+1

got it brakowało mi() na końcu funkcji ... https: //databricks.com/blog/2015/09/16/spark-1-5-dataframe-api-highlights- datetimestring-handling-time-interval-and-udafs.html –