
pig
文章平均质量分 67
JamesFen
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
pig ERROR 2997: Encountered IOException. File or directory null does not exist.
grunt> ls2014-03-30 19:58:31,344 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory null does not exist.Details at logfile: /usr/local/hadoop/pi原创 2014-03-30 20:04:14 · 5216 阅读 · 0 评论 -
pig flatten
今天通过不断的尝试,终于知道这个flatten的用法了。其实吧,有时候关键是要test,才能充分理解解说。不过,同事给说的有点问题,误导了我。整的我一直没明白怎么回事。这是官方的解释:The FLATTEN operator looks like a UDF syntactically, but it is actually an operator that changes转载 2014-03-30 21:49:39 · 2328 阅读 · 0 评论 -
pig语法学习 FOREACH GENERATE group AS
深入浅出,转一个转载必须注明出处:http://www.codelast.com/转载地址本文可以让刚接触pig的人对一些基础概念有个初步的了解。本文大概是互联网上第一篇公开发表的且涵盖大量实际例子的Apache Pig中文教程(由Google搜索可知),文中的大量实例都是作者Darran Zhang(website: codelast.com)在工作、学习转载 2014-03-30 23:52:23 · 3131 阅读 · 1 评论 -
Pig FOREACH 嵌套循环
Example: Nested BlockSuppose we have relations A and B. Note that relation B contains an inner bag.A = LOAD 'data' AS (url:chararray,outlink:chararray);DUMP A;(www.ccc.com,www.hjk.com)(www.ddd原创 2014-05-01 12:11:01 · 3813 阅读 · 0 评论 -
Pig Latin JOIN (inner) 与JOIN (outer)的区别
a.txt1 2 3 4 2 18 3 44 3 37 2 58 4 3 b.txt原创 2014-05-01 19:35:25 · 2683 阅读 · 0 评论 -
Pig Flatten 解包操作,解元组
Flatten OperatorThe FLATTEN operator looks like a UDF syntactically, but it is actually an operator that changes the structure of tuples and bags in a way that a UDF cannot. Flatten un-nests tuples原创 2014-05-01 13:19:00 · 2398 阅读 · 0 评论 -
pig 入门教程(1)
出处:http://www.codelast.com/本文可以让刚接触pig的人对一些基础概念有个初步的了解。本文大概是互联网上第一篇公开发表的且涵盖大量实际例子的Apache Pig中文教程(由Google搜索可知),文中的大量实例都是作者Darran Zhang(website: codelast.com)在工作、学习中总结的经验或解决的问题,并且添加了较为详尽的说明及注解,此外,作者转载 2014-07-04 15:25:39 · 26653 阅读 · 0 评论 -
pig入门教程(2)
本文可以让刚接触pig的人对一些基础概念有个初步的了解。本文的大量实例都是作者Darran Zhang(website: codelast.com)在工作、学习中总结的经验或解决的问题,并且添加了较为详尽的说明及注解,此外,作者还在不断地添加本文的内容,希望能帮助一部分人。要查看Pig系列教程,请点击【这里】。Apache pig是用来处理大规模数据的高级查询语言,配合Hadoop使用转载 2014-07-04 15:27:32 · 1405 阅读 · 0 评论