摘要:
get_json_object用以获取json类型的字段的值 阅读全文
posted @ 2019-08-22 10:27
TryMyBest!
阅读(1411)
评论(0)
推荐(0)
摘要:
str_to_map语句,字符串类型变map类型 阅读全文
posted @ 2019-08-22 10:26
TryMyBest!
阅读(575)
评论(0)
推荐(0)
摘要:
select * from (select row_number() over(partition by resourceid order by updatetime desc) rank, * from browser.st_resource_info_h ) rn1 where rank=1 阅读全文
posted @ 2019-08-22 10:25
TryMyBest!
阅读(328)
评论(0)
推荐(0)
摘要:
hive可以在脚本的hql最前端,用如下语句 with 临时表名 as (sql语句) 创建临时表,只在当前脚本使用的临时表。 阅读全文
posted @ 2019-08-22 10:23
TryMyBest!
阅读(11031)
评论(0)
推荐(0)
摘要:
ODS:原始数据层 DWD或DWI:明细数据层 DWS:服务数据层或轻度汇总层 ADS:数据应用层 阅读全文
posted @ 2019-08-22 10:19
TryMyBest!
阅读(390)
评论(0)
推荐(0)
摘要:
在表中添加一个新字段,留存状态。每天默认状态是全部的留存。第二天更新数据既更新填充第二天的数据,也更新前一天的数据,会更新前一天数据中的留存状态。如果前一天的人不在第二天的数据里,那么前一天的人的留存状态即为无留存。 七日留存也类似这种方法操作。 阅读全文
posted @ 2019-08-22 09:34
TryMyBest!
阅读(2145)
评论(0)
推荐(0)
浙公网安备 33010602011771号