摘要:
背景: 测试环境需要往标签表里面灌入标签数据, 需求: 短期流失,中期流失,唤醒 ,沉睡 随机20%用户 然后6月30号 5月31号 各补一次 代码: 随机20%用户 select * from wolf_7uxfyecbufj1xuqp.tb_user tablesample(20 percent 阅读全文
posted @ 2022-08-11 17:39
fanghui778
阅读(219)
评论(0)
推荐(0)
摘要:
Hive Lateral View + explode 详解 (29条消息) Hive Lateral View + explode 详解_YaoYong_BigData的博客-CSDN博客_hive lateral view原理 Hive之explode()函数和posexplode()函数和la 阅读全文
posted @ 2022-08-11 14:00
fanghui778
阅读(702)
评论(0)
推荐(0)
摘要:
背景: 测试环境经常需要修改大数据里面的一条数据用来满足测试,比如修改一条数据的手机号用来发短信 思路: 1. insert overwrite table table1 select id,修改后的内容 as cols from table1 where id = 你修改行的id 先弄出你要修改的 阅读全文
posted @ 2022-08-11 11:01
fanghui778
阅读(5344)
评论(0)
推荐(0)

浙公网安备 33010602011771号