【问题标题】:How to add a minute in Hue HIVE DB如何在 Hue HIVE DB 中添加一分钟
【发布时间】:2022-12-02 19:24:36
【问题描述】:

I need to add a minute in my SQL query which i was written in HIVE DB.

Select date_need from myschema.table order by date_need

If i am giving as AS,`` to use alias.It was not accepting.I need to add a minute. For example , date_need has 2021-05-09 03:30:24 and i need to display as 2021-05-09 03:31:24 date_need declared as string type in query

    标签: sql hive date-formatting dateadd


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-04-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多