1

我正在尝试在 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 }
4

0 回答 0