【问题标题】:In Presto what data type results from NOW()在 Presto 中,NOW() 产生什么数据类型
【发布时间】:2021-11-19 22:04:40
【问题描述】:

如果我在查询中使用 NOW(),Presto 架构中正确的数据类型是什么?

【问题讨论】:

  • 用谷歌搜索它比在这里提问要花更少的时间......

标签: sql presto


【解决方案1】:

来自Presto Date and Time Functions and Operators document

now() → 带有时区的时间戳#
这是 current_timestamp 的别名。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-10-26
    • 2020-06-26
    • 2013-10-26
    • 2018-04-22
    • 2015-03-02
    • 1970-01-01
    • 2021-11-06
    相关资源
    最近更新 更多