随笔分类 - hive
摘要:https://www.freesion.com/article/77981205624/ https://www.freesion.com/article/77981205624/ https://www.freesion.com/article/42341119879/ Hive增量更新数据 h
阅读全文
摘要:1、需求:业务中需要将发票开具明细作为发票开具表中一个字段,使用hive中array嵌套map解决该问题 2、创建hive表 1 CREATE TABLE `51fp_tmp`.`test`( 2 `fp_dm` string, 3 `mxList` array<map<string,string>
阅读全文
摘要:想要将hive分区表中的某个分区复制到新的分区中,使用如下sql语句 insert overwrite table zcfw_sda.sda04_core_request_base_ratio_ifrs partition (etl_tx_dt = 20190327) select * from z
阅读全文