
hive
deepthinkers
近期会总结大量之前遇到的问题会不断更新。
我会抽出时间努力做这件事
展开
-
转载hive空值判断
https://blog.youkuaiyun.com/liyonghui123/article/details/84854029 hive中空值判断基本分两种 1)NULL 与 \N hive在底层数据中如何保存和标识NULL,是由 alter table name SET SERDEPROPERTIES(‘serialization.null.format’ = ‘\N’); 参数控制的 则:底层数据保存...转载 2019-05-30 11:23:17 · 774 阅读 · 0 评论 -
记录oracle转sparksql的问题
oracle转sparksql中遇到某些函数转换问题 1.listagg 行转列函数 LISTAGG(Item_Category_Name ‘,’) WITHIN GROUP(ORDER BY Item_Category_Name)//oracle 经过多方查询: 使用 CONCAT_WS(“,”,collect_set(Item_Category_Name)) over (od...原创 2018-03-29 17:35:12 · 2806 阅读 · 0 评论 -
hive一点小技巧后面持续更新
create table table1 as with tmp as (select * from table2…) select * from tmp; 直接通过临时表+create table 方式来落地的hive语句;原创 2019-06-25 15:24:46 · 155 阅读 · 0 评论