![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hive
不許人間見白頭
这个作者很懒,什么都没留下…
展开
-
hive 数组和string互转
hive 数组和string转换原创 2023-01-12 17:59:24 · 6317 阅读 · 0 评论 -
hive分区无法删除,特殊分区,分区乱码
应该有人在使用 hive 的时候 不小心创建了一些 特殊分区 , 分区的编码 是看起来的乱码, 我们现在来看看这个问题 create table test.test_part ( a string, b string, c int ) comment '测试不正常分区' partitioned by ( d string) STORED AS OR...原创 2019-07-28 22:47:05 · 4092 阅读 · 1 评论 -
presto 查询hive 问题积累
1. presto 的类型是规范的比较严格的, 所以 在字符和数字的操作中一定要注意类型2. presto 之家查询hive 的时候因为 hive 中使用了 union all 查询 ,导致会出现两个 union 的文件夹 如下图 :就导致 表中有数据 但是 presto 竟然无法查询出来 所以 在需要使用 union 的时候可以先考虑是否需要去重, 如果可以去掉重复的 那...原创 2019-08-10 17:55:28 · 3849 阅读 · 0 评论