tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prafulla <praful...@yahoo.com>
Subject java.lang.Error failure while running Tajo parser tests
Date Sat, 24 May 2014 17:01:57 GMT
Hi,

I am getting following runtime exception when I try to run parser tests.
Does anyone know if any of my system settings is causing this failure and how do I fix it?
I looked into relevant classes and error looks reasonable.  
For now, I will fix it by modifying the code.

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.tajo.engine.parser.TestSQLAnalyzer
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.707 sec <<< FAILURE!
testCreateTablePartitionByHash1(org.apache.tajo.engine.parser.TestSQLAnalyzer)  Time elapsed:
0.476 sec  <<< ERROR!
java.lang.Error: Unresolved compilation problem: 
    The method getText() is undefined for the type List<SQLParser.Table_nameContext>

    at org.apache.tajo.engine.parser.SQLAnalyzer.visitCreate_table_statement(SQLAnalyzer.java:1009)
    at org.apache.tajo.engine.parser.SQLAnalyzer.visitCreate_table_statement(SQLAnalyzer.java:1)
    at org.apache.tajo.engine.parser.SQLParser$Create_table_statementContext.accept(SQLParser.java:961)
    at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:68)
    at org.apache.tajo.engine.parser.SQLParserBaseVisitor.visitSchema_statement(SQLParserBaseVisitor.java:111)
    at org.apache.tajo.engine.parser.SQLParser$Schema_statementContext.accept(SQLParser.java:537)
    at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:68)
    at org.apache.tajo.engine.parser.SQLParserBaseVisitor.visitStatement(SQLParserBaseVisitor.java:1455)
    at org.apache.tajo.engine.parser.SQLParser$StatementContext.accept(SQLParser.java:367)
    at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:44)
    at org.apache.tajo.engine.parser.SQLAnalyzer.visitSql(SQLAnalyzer.java:75)
    at org.apache.tajo.engine.parser.TestSQLAnalyzer.parseQuery(TestSQLAnalyzer.java:52)
    at org.apache.tajo.engine.parser.TestSQLAnalyzer.testCreateTablePartitionByHash1(TestSQLAnalyzer.java:275)
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message