1 2 3

08 2021 档案

摘要:首先新建DLI SQL脚本 DLI SQL是在hive、spark基础上封装的脚本工具 创建库表并导入数据 create table if not exists akc_dw.rpt_mkt_xf_promo_merchant_data_1h_share_test_case2( data_time_ 阅读全文
posted @ 2021-08-30 22:16 teacher-程 阅读(425) 评论(0) 推荐(0)
摘要:日期处理函数 1.date_format:将日期进行格式化 语法:date_format(日期,格式) 作用:把一个字符串日期格式化为指定的格式 年月日,时分秒:'yyyy-MM-dd HH:mm:ss' select date_format('2017-01-01','yyyy-MM-dd HH: 阅读全文
posted @ 2021-08-26 22:19 teacher-程 阅读(860) 评论(0) 推荐(0)
摘要:时间函数 一、获取系统时间函数 1.1 获取当前完整时间 select now(); 》2021-12-10 11:13:39.56 current_timestamp 同 now() 函数等效。 1.2 获取当前日期 select current_date; 》2021-12-10 1.3 获取当 阅读全文
posted @ 2021-08-26 22:18 teacher-程 阅读(1210) 评论(0) 推荐(0)

levels of contents