Apache pig 从Pig中选择所需的记录
我在c中做了一个a,b的cogroup,c的模式和输出如下。 c=a组乘以$1,b组乘以$1` *架构是{group:bytearray,a:{()},b:{()}Apache pig 从Pig中选择所需的记录,apache-pig,Apache Pig,我在c中做了一个a,b的cogroup,c的模式和输出如下。 c=a组乘以$1,b组乘以$1` *架构是{group:bytearray,a:{()},b:{()} 你的目标是什么?我想一个接一个地从C生成每个元组。我无法编辑这里的内容。 c = {(1,2,3,4)} {(5,6,7,8),(9,10,11,12),(13,14,15,16)} Now, How do I generate B as below in Pig? 1,2,3
你的目标是什么?我想一个接一个地从C生成每个元组。我无法编辑这里的内容。
c = {(1,2,3,4)} {(5,6,7,8),(9,10,11,12),(13,14,15,16)}
Now, How do I generate B as below in Pig?
1,2,3,4 Assume this is a Policy record
5,6,7,8 Assume this is a Role1 record for the policy
9,10,11,12 Assume this is a Role2 record for the policy
13,14,15,16 Assume this is a Role3 record for the policy
##Appreciate the help and thankful for it.##