
问题bug
文章平均质量分 85
小鸣的道道
这个作者很懒,什么都没留下…
展开
-
full join 的坑
发现full join 导致数据发散的问题select * from temp.test_student name age classid ---- --- ------- a 2 1 b 2 2 c 2 1 select * from temp.test_classname age classid ---- --- ------- c 2 1 ...原创 2020-06-05 08:34:54 · 1270 阅读 · 0 评论 -
Resource interpreted as Document but transferred with MIME type application/json ...
今天发布一个项目的时候,遇到了一个奇怪的问题,一个后台管理系统的excel导出。在我的本地测试中,导出没有任何问题,但是发布到服务器之后,第一次导出没有问题,多次导出之后,浏览器直接白屏。从服务器后端找错误,被其他无关的错误所误导。最终,在浏览器的调试中发现了这样一句话:Resource interpreted as Document but transferred with MIME typ原创 2016-11-15 16:22:17 · 66608 阅读 · 7 评论 -
left join 的一些问题,不一定以左表为准,数据行数减少或者数据增多
left join 完,行数一定等于左表行数吗? 不一定!!实验如下:SELECT * FROM hdd_test1 a LEFT JOIN hdd_test2 b ON a.a_id = b.b_id LIMIT 1448 rows (134ms)id created_at updated_at a_id id created_at u...原创 2018-11-05 20:57:25 · 31383 阅读 · 4 评论 -
hive 解析json 数组
select c.goodsId ,c.itemName,c.num from dm_ebiz.rigel_groupbuy_join alateral view explode(split(regexp_replace(regexp_extract(a.items_sales_detail,'^\\[(.+)\\]$',1),'\\}\\,\\{', '\\}\\|\\|\\{'),'\\|\...原创 2019-01-08 21:48:13 · 695 阅读 · 0 评论 -
atlas 安装
1.启动报错 文件不存在s-server/bin/atlas_start.py' returned 255. Exception: [Errno 2] No such file or directoryTraceback (most recent call last):File "/usr/hdp/current/atlas-server/bin/atlas_start.py", li...原创 2019-04-02 11:39:28 · 1003 阅读 · 0 评论