org.apache.pig.impl.logicalLayer.parser.TokenMgrError

Lexical error at line 1, column 37. Encountered: "d" (100), after : "\'\\" at org .apache .pig .impl .logicalLayer .parser .QueryParserTokenManager.getNextToken(QueryParserTokenManager.java:1623) at org .apache .pig .impl.logicalLayer.parser.QueryParser.jj_scan_token(QueryParser.java: 4771) at org .apache .pig.impl.logicalLayer.parser.QueryParser.jj_3R_91(QueryParser.java: 4439) at org .apache .pig.impl.logicalLayer.parser.QueryParser.jj_3R_72(QueryParser.java: 4492) at org .apache .pig.impl.logicalLayer.parser.QueryParser.jj_3R_54(QueryParser.java: 4536) at org .apache .pig.impl.logicalLayer.parser.QueryParser.jj_3R_39(QueryParser.java: 4590) at org .apache .pig.impl.logicalLayer.parser.QueryParser.jj_3R_27(QueryParser.java: 4606) at org .apache .pig.impl.logicalLayer.parser.QueryParser.jj_3_4(QueryParser.java:4369) at org .apache .pig.impl.logicalLayer.parser.QueryParser.jj_2_4(QueryParser.java:3820) at org .apache .pig.impl.logicalLayer.parser.QueryParser.PUnaryCond(QueryParser.java: 1105) at org .apache .pig.impl.logicalLayer.parser.QueryParser.PAndCond(QueryParser.java: 1055) at org .apache .pig.impl.logicalLayer.parser.QueryParser.POrCond(QueryParser.java:1005) at org .apache .pig.impl.logicalLayer.parser.QueryParser.PCond(QueryParser.java:973) at org .apache .pig .impl.logicalLayer.parser.QueryParser.FilterClause(QueryParser.java:941) at org .apache .pig.impl.logicalLayer.parser.QueryParser.BaseExpr(QueryParser.java:686) at org .apache.pig.impl.logicalLayer.parser.QueryParser.Expr(QueryParser.java: 512) at org .apache .pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:362) at org .apache .pig .impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:47)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7

  • via hadoop-pig-user by Santhosh Srinivasan, 9 months ago
    Lexical error at line 1, column 37. Encountered: "d" (100), after : "\'\\" at org .apache .pig .impl .logicalLayer .parser .QueryParserTokenManager.getNextToken(QueryParserTokenManager.java:1623) at org .apache .pig
  • via incubator-hcatalog-user by Subroto sanyal, 9 months ago
    Lexical error at line 3, column 87. Encountered: "t" (116), after : "\""
  • via incubator-hcatalog-user by Ashutosh Chauhan, 9 months ago
    Lexical error at line 3, column 87. Encountered: "t" (116), after : "\""
  • Stack trace

    • org.apache.pig.impl.logicalLayer.parser.TokenMgrError: Lexical error at line 1, column 37. Encountered: "d" (100), after : "\'\\" at org .apache .pig .impl .logicalLayer .parser .QueryParserTokenManager.getNextToken(QueryParserTokenManager.java:1623) at org .apache .pig .impl.logicalLayer.parser.QueryParser.jj_scan_token(QueryParser.java: 4771) at org .apache .pig.impl.logicalLayer.parser.QueryParser.jj_3R_91(QueryParser.java: 4439) at org .apache .pig.impl.logicalLayer.parser.QueryParser.jj_3R_72(QueryParser.java: 4492) at org .apache .pig.impl.logicalLayer.parser.QueryParser.jj_3R_54(QueryParser.java: 4536) at org .apache .pig.impl.logicalLayer.parser.QueryParser.jj_3R_39(QueryParser.java: 4590) at org .apache .pig.impl.logicalLayer.parser.QueryParser.jj_3R_27(QueryParser.java: 4606) at org .apache .pig.impl.logicalLayer.parser.QueryParser.jj_3_4(QueryParser.java:4369) at org .apache .pig.impl.logicalLayer.parser.QueryParser.jj_2_4(QueryParser.java:3820) at org .apache .pig.impl.logicalLayer.parser.QueryParser.PUnaryCond(QueryParser.java: 1105) at org .apache .pig.impl.logicalLayer.parser.QueryParser.PAndCond(QueryParser.java: 1055) at org .apache .pig.impl.logicalLayer.parser.QueryParser.POrCond(QueryParser.java:1005) at org .apache .pig.impl.logicalLayer.parser.QueryParser.PCond(QueryParser.java:973) at org .apache .pig .impl.logicalLayer.parser.QueryParser.FilterClause(QueryParser.java:941) at org .apache .pig.impl.logicalLayer.parser.QueryParser.BaseExpr(QueryParser.java:686) at org .apache.pig.impl.logicalLayer.parser.QueryParser.Expr(QueryParser.java: 512) at org .apache .pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:362) at org .apache .pig .impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:47) at org.apache.pig.PigServer.registerQuery(PigServer.java:275) at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:60) at org.apache.pig.Main.main(Main.java:294)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.