a = LOAD '$hivedb.hiveorders' using org.apache.hive.hcatalog.pig.HCatLoader();
b = FILTER a by order_id >= $currval;
store b into '$hivedb.orders_part' using org.apache.hive.hcatalog.pig.HCatStorer('order_month=SUBSTRING(order_date,0,7)');
我收到以下错误:
[main]错误org.apache.pig.tools.grunt.Grunt-错误1115:无效 分区列规范。 order_month = SUBSTRING(order_date,0,7)
如果我传递任何硬编码的值,它将正常工作。如何根据order_date ...将值传递给order_month ...?