
数据分析
# 数据分析
wsjtwmy
这个作者很懒,什么都没留下…
展开
-
[数据分析][GraphQL]GraphQL playground报错“Failed to fetch. Please check your connection“
使用GraphQL playground来查看GraphQL demo结果的时候,报错:Failed to fetch. Please check your connectionF12查看前台请求,发现报错为:Access to fetch at ‘http://localhost:8080/graphql’ from origin‘https://www.graphqlbin.com’ has been blocked by CORS policy: No‘Access-Control-A原创 2021-05-07 18:50:58 · 989 阅读 · 0 评论 -
[数据分析]集体智慧编程第2章
>>> from recommendations import critics>>> from imp import reload>>> import recommendations>>> reload(recommendations)pip install pydelicious原创 2020-09-15 14:47:13 · 133 阅读 · 0 评论 -
[数据分析][Mapreduce]Could not locate executable null\bin\winutils.exe in the Hadoop binaries
问题在windows下运行mapreduce的测试用例时,报错Could not locate executable null\bin\winutils.exe in the Hadoop binaries解决方法在前置语句添加以下语句 File workaround = new File("."); System.getProperties().put("hadoop.home.dir", workaround.getAbsolutePath()); new File("./原创 2022-05-07 16:31:42 · 576 阅读 · 0 评论 -
[数据分析][Hive]json_tuple()解析嵌套json
select temp1.f1,temp1.f2,temp1.f3,temp1.f4,temp2.f5,temp2.f6from tablelateral view json_tuple(f0,'f1','f2','f3','f4') temp1as f1,f2,f3,f4lateral view json_tuple(f4,'f5','f6') temp2as f5,f6;原创 2021-04-13 21:02:50 · 2211 阅读 · 1 评论 -
[数据分析][Hive]函数操作集锦
解析jsonget_json_object:get_json_object时间日期处理时间日期处理原创 2021-04-13 14:19:21 · 96 阅读 · 0 评论