spark sql中是否有一个返回当前时间戳的sql函数,例如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.
关于apache-spark - Spark sql当前时间戳函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34136193/