Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 4th, 2012  |  syntax: None  |  size: 3.12 KB  |  views: 103  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Pig Stack Trace
  2. ---------------
  3. ERROR 1200: Pig script failed to parse:
  4. <line 14, column 23> Invalid scalar projection: C : A column needs to be projected from a relation for it to be used as a scalar
  5.  
  6. Failed to parse: Pig script failed to parse:
  7. <line 14, column 23> Invalid scalar projection: C : A column needs to be projected from a relation for it to be used as a scalar
  8.         at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:183)
  9.         at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1565)
  10.         at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1538)
  11.         at org.apache.pig.PigServer.registerQuery(PigServer.java:540)
  12.         at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:970)
  13.         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386)
  14.         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:189)
  15.         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:165)
  16.         at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
  17.         at org.apache.pig.Main.run(Main.java:490)
  18.         at org.apache.pig.Main.main(Main.java:111)
  19.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  20.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  21.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  22.         at java.lang.reflect.Method.invoke(Method.java:597)
  23.         at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
  24. Caused by:
  25. <line 14, column 23> Invalid scalar projection: C : A column needs to be projected from a relation for it to be used as a scalar
  26.         at org.apache.pig.parser.LogicalPlanGenerator.var_expr(LogicalPlanGenerator.java:8764)
  27.         at org.apache.pig.parser.LogicalPlanGenerator.expr(LogicalPlanGenerator.java:7984)
  28.         at org.apache.pig.parser.LogicalPlanGenerator.real_arg(LogicalPlanGenerator.java:7443)
  29.         at org.apache.pig.parser.LogicalPlanGenerator.func_eval(LogicalPlanGenerator.java:7287)
  30.         at org.apache.pig.parser.LogicalPlanGenerator.projectable_expr(LogicalPlanGenerator.java:8857)
  31.         at org.apache.pig.parser.LogicalPlanGenerator.var_expr(LogicalPlanGenerator.java:8632)
  32.         at org.apache.pig.parser.LogicalPlanGenerator.expr(LogicalPlanGenerator.java:7984)
  33.         at org.apache.pig.parser.LogicalPlanGenerator.cond(LogicalPlanGenerator.java:7016)
  34.         at org.apache.pig.parser.LogicalPlanGenerator.filter_clause(LogicalPlanGenerator.java:6344)
  35.         at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:1357)
  36.         at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:789)
  37.         at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:507)
  38.         at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:382)
  39.         at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:176)
  40.         ... 15 more
  41. ================================================================================
clone this paste RAW Paste Data