tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prafulla <praful...@yahoo.com>
Subject Re: java.lang.Error failure while running Tajo parser tests
Date Tue, 27 May 2014 01:25:24 GMT
Hi, <br/><br/>It turned out that runtime error was due to my changes to grammar
for TAJO-699<br/>I have submitted this patch for review.<br/><br/><br/><br/>On
Sunday, 25 May 2014 7:59 PM, Hyunsik Choi <hyunsik@apache.org> wrote:<br/><br/><br/><br/>Hi
Prafulla,<br/><br/>SQLAnalyzer.java employs the generated source by Antlr. I've
just tried to build the latest source code.  I couldn't reproduce the problem.<br/><br/>I'm
expecting that the problem may be caused by Antlr version conflicts, or you need to eliminate
the old generated source code.<br/><br/>Best regards,<br/>Hyunsik<br/><br/><br/>On
May 25, 2014, at 2:01 AM, Prafulla <prafullat@yahoo.com> wrote:<br/><br/>>
Hi,<br/>> <br/>> I am getting following runtime exception when I try to
run parser tests.<br/>> Does anyone know if any of my system settings is causing
this failure and how do I fix it?<br/>> I looked into relevant classes and error
looks reasonable.  <br/>> For now, I will fix it by
 modifying the code.<br/>> <br/>> -------------------------------------------------------<br/>> 
T E S T S<br/>> -------------------------------------------------------<br/>>
Running org.apache.tajo.engine.parser.TestSQLAnalyzer<br/>> Tests run: 1, Failures:
0, Errors: 1, Skipped: 0, Time elapsed: 0.707 sec <<< FAILURE!<br/>> testCreateTablePartitionByHash1(org.apache.tajo.engine.parser.TestSQLAnalyzer) 
Time elapsed: 0.476 sec  <<< ERROR!<br/>> java.lang.Error: Unresolved compilation
problem: <br/>>     The method getText() is undefined for the type List<br/>>
<br/>>     at org.apache.tajo.engine.parser.SQLAnalyzer.visitCreate_table_statement(SQLAnalyzer.java:1009)<br/>> 
   at org.apache.tajo.engine.parser.SQLAnalyzer.visitCreate_table_statement(SQLAnalyzer.java:1)<br/>> 
   at org.apache.tajo.engine.parser.SQLParser$Create_table_statementContext.accept(SQLParser.java:961)<br/>> 
   at
 org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:68)<br/>> 
   at org.apache.tajo.engine.parser.SQLParserBaseVisitor.visitSchema_statement(SQLParserBaseVisitor.java:111)<br/>> 
   at org.apache.tajo.engine.parser.SQLParser$Schema_statementContext.accept(SQLParser.java:537)<br/>> 
   at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:68)<br/>> 
   at org.apache.tajo.engine.parser.SQLParserBaseVisitor.visitStatement(SQLParserBaseVisitor.java:1455)<br/>> 
   at org.apache.tajo.engine.parser.SQLParser$StatementContext.accept(SQLParser.java:367)<br/>> 
   at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:44)<br/>> 
   at org.apache.tajo.engine.parser.SQLAnalyzer.visitSql(SQLAnalyzer.java:75)<br/>> 
   at org.apache.tajo.engine.parser.TestSQLAnalyzer.parseQuery(TestSQLAnalyzer.java:52)<br/>> 
    at org.apache.tajo.engine.parser.TestSQLAnalyzer.testCreateTablePartitionByHash1(TestSQLAnalyzer.java:275)<a
href="https://overview.mail.yahoo.com?.src=iOS"><br/><br/>Sent from Yahoo Mail
for iPhone</a>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message