在spark sql中是否有一个sql fucntion返回当前时间戳,例如在impala中NOW()是返回当前时间戳的函数在spark sql中有类似的吗?
谢谢
尝试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.