Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # user >> optimization for data cube

Copy link to this message
optimization for data cube
Hi, all
I have a tuple like this:

and I want to calculate the values in a data cube way, which means I want to generate new tuples from the original one :


and then group by ($0, $1, $2) .
How can I do this? I've wrote a Eval function, but it can not generate more tuples from one tuple.
Haitao Yao
weibo: @haitao_yao
Skype:  haitao.yao.final

Prasanth J 2013-04-03, 05:19
Haitao Yao 2013-04-03, 06:07