随笔分类 -  hive

摘要:https://www.freesion.com/article/77981205624/ https://www.freesion.com/article/77981205624/ https://www.freesion.com/article/42341119879/ Hive增量更新数据 h 阅读全文
posted @ 2022-03-18 12:20 sunshineD 阅读(152) 评论(0) 推荐(0) 编辑
摘要:1、需求:业务中需要将发票开具明细作为发票开具表中一个字段,使用hive中array嵌套map解决该问题 2、创建hive表 1 CREATE TABLE `51fp_tmp`.`test`( 2 `fp_dm` string, 3 `mxList` array<map<string,string> 阅读全文
posted @ 2022-01-06 16:22 sunshineD 阅读(1111) 评论(0) 推荐(0) 编辑
摘要:想要将hive分区表中的某个分区复制到新的分区中,使用如下sql语句 insert overwrite table zcfw_sda.sda04_core_request_base_ratio_ifrs partition (etl_tx_dt = 20190327) select * from z 阅读全文
posted @ 2021-09-24 12:45 sunshineD 阅读(658) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示