在Pig中使用DESCRIBE关键字的ERROR 1000

时间:2012-09-14 03:37:34

标签: apache-pig

我正在尝试在Eclipse上运行我的Pig代码,但发生了以下错误:

ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1000: Error during parsing. Encountered " <IDENTIFIER> "line_target_group "" at line 27, column 1. Was expecting one of:

这是我的代码的一部分:

23 line_target_group = GROUP line_target BY line_cd;
24
25 DESCRIBE line_target_group;
26
27 line_target_group : {
28   group : int,
29   line_target : {
30     line_cd : int,
31     station_cd1 : int,
32     station_cd2 : int,
33     s_km : double,
34     s_point : bytearray
35   }
36 }

0 个答案:

没有答案