猪脚本:表是并行还是按顺序读取的?

时间:2015-12-04 20:55:58

标签: apache-pig

在下面的Pig脚本中,两个表是一个接一个地读取还是并行读取?

a = LOAD 'sampledb1.tb1' USING org.apache.hcatalog.pig.HCatLoader();
a_filter = FILTER a BY cpd_dt == '20150602';

b = LOAD 'sampledb2.tb2' USING org.apache.hcatalog.pig.HCatLoader();
b_filter = FILTER b BY cpd_dt == '20150602';

/* do some analysis on the data in the above tables*/

1 个答案:

答案 0 :(得分:0)

从我创建的脚本和表格中,我注意到这些表格逐一阅读。