Member since
03-15-2020
2
Posts
0
Kudos Received
0
Solutions
03-15-2020
11:32 PM
sir myfile.txt contains simply the following trial data- 1 2 3 4 5 6
... View more
03-15-2020
08:30 AM
I am facing the following error on the cmd:
command:
grunt> A = LOAD 'C:\data\myfile.txt';
or
grunt> a = load 'c:\data\myfile.txt' using PigStorage(' ') as (f1:int,f2:int, f3:int);
error: <line 1, column 14> Unexpected character 'D' 2020-03-15 20:56:50,153 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: <line 1, column 14> Unexpected character 'D' Details at logfile: C:\deploy\logs\pig_1584281243336.log
the error trace is as follows-
Pig Stack Trace --------------- ERROR 1200: <line 1, column 14> Unexpected character 'D'
Failed to parse: <line 1, column 14> Unexpected character 'D' at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:246) at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:182) at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1792) at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1765) at org.apache.pig.PigServer.registerQuery(PigServer.java:708) at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:1110) at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:512) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:230) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:205) at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:66) at org.apache.pig.Main.run(Main.java:564) at org.apache.pig.Main.main(Main.java:175)
... View more
Labels:
- Labels:
-
Apache Pig