cascading.operation.OperationException: could not compile script: { return new cascading.tuple.Tuple( new Object[] { ENTITY, 95percentile}); }

Google Groups | Sergey Satunin | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    issue with column names started with numbers

    Google Groups | 3 years ago | Sergey Satunin
    cascading.operation.OperationException: could not compile script: { return new cascading.tuple.Tuple( new Object[] { ENTITY, 95percentile}); }

    Root Cause Analysis

    1. cascading.thirdparty.org.codehaus.commons.compiler.CompileException

      Line 5, Column 12: "," or "}" expected

      at cascading.thirdparty.org.codehaus.janino.Parser.throwCompileException()
    2. cascading.thirdparty.org
      ScriptEvaluator.<init>
      1. cascading.thirdparty.org.codehaus.janino.Parser.throwCompileException(Parser.java:2593)
      2. cascading.thirdparty.org.codehaus.janino.Parser.parseArrayInitializer(Parser.java:821)
      3. cascading.thirdparty.org.codehaus.janino.Parser.parsePrimary(Parser.java:2088)
      4. cascading.thirdparty.org.codehaus.janino.Parser.parseUnaryExpression(Parser.java:1886)
      5. cascading.thirdparty.org.codehaus.janino.Parser.parseMultiplicativeExpression(Parser.java:1846)
      6. cascading.thirdparty.org.codehaus.janino.Parser.parseAdditiveExpression(Parser.java:1826)
      7. cascading.thirdparty.org.codehaus.janino.Parser.parseShiftExpression(Parser.java:1806)
      8. cascading.thirdparty.org.codehaus.janino.Parser.parseRelationalExpression(Parser.java:1774)
      9. cascading.thirdparty.org.codehaus.janino.Parser.parseEqualityExpression(Parser.java:1751)
      10. cascading.thirdparty.org.codehaus.janino.Parser.parseAndExpression(Parser.java:1730)
      11. cascading.thirdparty.org.codehaus.janino.Parser.parseExclusiveOrExpression(Parser.java:1709)
      12. cascading.thirdparty.org.codehaus.janino.Parser.parseInclusiveOrExpression(Parser.java:1688)
      13. cascading.thirdparty.org.codehaus.janino.Parser.parseConditionalAndExpression(Parser.java:1667)
      14. cascading.thirdparty.org.codehaus.janino.Parser.parseConditionalOrExpression(Parser.java:1646)
      15. cascading.thirdparty.org.codehaus.janino.Parser.parseConditionalExpression(Parser.java:1627)
      16. cascading.thirdparty.org.codehaus.janino.Parser.parseAssignmentExpression(Parser.java:1607)
      17. cascading.thirdparty.org.codehaus.janino.Parser.parseExpression(Parser.java:1593)
      18. cascading.thirdparty.org.codehaus.janino.Parser.parseArgumentList(Parser.java:2354)
      19. cascading.thirdparty.org.codehaus.janino.Parser.parseArguments(Parser.java:2341)
      20. cascading.thirdparty.org.codehaus.janino.Parser.parsePrimary(Parser.java:2095)
      21. cascading.thirdparty.org.codehaus.janino.Parser.parseUnaryExpression(Parser.java:1886)
      22. cascading.thirdparty.org.codehaus.janino.Parser.parseMultiplicativeExpression(Parser.java:1846)
      23. cascading.thirdparty.org.codehaus.janino.Parser.parseAdditiveExpression(Parser.java:1826)
      24. cascading.thirdparty.org.codehaus.janino.Parser.parseShiftExpression(Parser.java:1806)
      25. cascading.thirdparty.org.codehaus.janino.Parser.parseRelationalExpression(Parser.java:1774)
      26. cascading.thirdparty.org.codehaus.janino.Parser.parseEqualityExpression(Parser.java:1751)
      27. cascading.thirdparty.org.codehaus.janino.Parser.parseAndExpression(Parser.java:1730)
      28. cascading.thirdparty.org.codehaus.janino.Parser.parseExclusiveOrExpression(Parser.java:1709)
      29. cascading.thirdparty.org.codehaus.janino.Parser.parseInclusiveOrExpression(Parser.java:1688)
      30. cascading.thirdparty.org.codehaus.janino.Parser.parseConditionalAndExpression(Parser.java:1667)
      31. cascading.thirdparty.org.codehaus.janino.Parser.parseConditionalOrExpression(Parser.java:1646)
      32. cascading.thirdparty.org.codehaus.janino.Parser.parseConditionalExpression(Parser.java:1627)
      33. cascading.thirdparty.org.codehaus.janino.Parser.parseAssignmentExpression(Parser.java:1607)
      34. cascading.thirdparty.org.codehaus.janino.Parser.parseExpression(Parser.java:1593)
      35. cascading.thirdparty.org.codehaus.janino.Parser.parseReturnStatement(Parser.java:1456)
      36. cascading.thirdparty.org.codehaus.janino.Parser.parseStatement(Parser.java:1108)
      37. cascading.thirdparty.org.codehaus.janino.Parser.parseBlockStatement(Parser.java:957)
      38. cascading.thirdparty.org.codehaus.janino.Parser.parseBlockStatements(Parser.java:926)
      39. cascading.thirdparty.org.codehaus.janino.Parser.parseBlock(Parser.java:910)
      40. cascading.thirdparty.org.codehaus.janino.Parser.parseStatement(Parser.java:1108)
      41. cascading.thirdparty.org.codehaus.janino.Parser.parseBlockStatement(Parser.java:957)
      42. cascading.thirdparty.org.codehaus.janino.ScriptEvaluator.makeStatements(ScriptEvaluator.java:624)
      43. cascading.thirdparty.org.codehaus.janino.ScriptEvaluator.cook(ScriptEvaluator.java:454)
      44. cascading.thirdparty.org.codehaus.janino.ScriptEvaluator.cook(ScriptEvaluator.java:345)
      45. cascading.thirdparty.org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:194)
      46. cascading.thirdparty.org.codehaus.commons.compiler.Cookable.cook(Cookable.java:80)
      47. cascading.thirdparty.org.codehaus.commons.compiler.Cookable.cook(Cookable.java:72)
      48. cascading.thirdparty.org.codehaus.janino.ScriptEvaluator.<init>(ScriptEvaluator.java:107)
      48 frames
    3. cascading.operation.expression
      ScriptOperation.getEvaluator
      1. cascading.operation.expression.ScriptOperation.getEvaluator(ScriptOperation.java:205)
      1 frame