Apache pig 清管器中的分裂算子

Apache pig 清管器中的分裂算子,apache-pig,Apache Pig,我试图将每个月的评论分成两组 NY_Airbnb_data=使用PigStorage(',')加载'AB_NYC_2019.csv'(id:int,name:chararray,host\u id:int,host\u name:chararray,neighbourth\u group:chararray,neighbourth:chararray,格子:double,经度:double,房间类型:chararray,价格:int,最小夜数:int,审核次数:int,上次审核:datetime

我试图将每个月的评论分成两组

NY_Airbnb_data=使用PigStorage(',')加载'AB_NYC_2019.csv'(id:int,name:chararray,host\u id:int,host\u name:chararray,neighbourth\u group:chararray,neighbourth:chararray,格子:double,经度:double,房间类型:chararray,价格:int,最小夜数:int,审核次数:int,上次审核:datetime,每月审核次数:double,计算出的审核次数:int,可用性:int);
b0=每个NY\u Airbnb\u数据生成名称、邻里组、邻里、房间类型、每月评论;
b1=如果每个月进行审查,则将b0分为b2(1.5);
倾倒区b2;
这就是我得到的错误 grunt>b1=如果每个月进行审核,则将b0分为b2(1.5);
2019-11-30 01:48:12232[main]ERROR org.apache.pig.tools.grunt.grunt-ERROR 1200:语法错误,“b1”处或附近出现意外符号

SPLIT b0 into b2 if reviews_per_month<1, b3 if (reviews_per_month>1.5);
SPLIT b0 into b2 if reviews_per_month<1, b3 if (reviews_per_month>1.5);
SPLIT b0 INTO b2 IF reviews_per_month < 1, b3 IF reviews_per_month > 1.5, b1 OTHERWISE;