03 2022 档案
摘要:tst00表 tst01表 CREATE TABLE `tst00` ( `id` int NOT NULL AUTO_INCREMENT, `json_v` text COLLATE utf8mb4_general_ci, `num` int DEFAULT NULL, PRIMARY KEY (
阅读全文
摘要:hive- date_format(b.month_start_date_entry ,'yyyyMMdd') mysql- DATE_FORMAT(create_time,'%Y%m%d')
阅读全文
摘要:hive-sort_arry实现字段横向比较,并取出最大值 先把多字段组成数组,再数组排序,取出最后一个即为最大值 sort_array(array(nvl(is_receive_recharge,0),nvl(is_receive_coupon,0),nvl(is_receive_points,0
阅读全文
摘要:hive-hive生成一段连续日期 select pos ,date_add(start_date,pos) as stat_date from (select '${entryDate}' as start_date, '${abortDate}' as end_date) temp latera
阅读全文
摘要:https://www.cnblogs.com/airnew/p/9788122.html 不能直接通过 create table as select 创建表,对改变表结构丢失表备注信息(分区表) create table dwd_cstm_points_record_mi_back__202203
阅读全文