-1
我使用下面的命令将数据加载到pig上,但遇到错误。 请纠正错误并告诉我解决方案。加载数据时apache pig错误
swa = load '/home/user/data/emp.txt' using PigStorage(',') as ($0,$1,$2);
无错误2017年8月25日09:15:12656 [主要] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: 不匹配的输入 '$ 0' 期待RIGHT_PAREN
的$ 0,$ 1和$ 2不应该在load语句中声明。并可以直接在查询中使用。 –