com.huawei.streaming.cql.exception.ParseException: ERROR CQL-04000: You have an error in your CQL syntax; check the manual that corresponds to your Streaming version for the right syntax to use near 'from' at line 1:8.

GitHub | xiao321 | 4 months ago
  1. 0

    GitHub comment 30#237471932

    GitHub | 4 months ago | xiao321
    com.huawei.streaming.cql.exception.ParseException: ERROR CQL-04000: You have an error in your CQL syntax; check the manual that corresponds to your Streaming version for the right syntax to use near 'from' at line 1:8.
  2. 0

    mvn clean install失败

    GitHub | 4 months ago | xiao321
    com.huawei.streaming.cql.exception.ParseException: ERROR CQL-04000: You have an error in your CQL syntax; check the manual that corresponds to your Streaming version for the right syntax to use near 'from' at line 1:8.

    Root Cause Analysis

    1. com.huawei.streaming.cql.exception.ParseException

      ERROR CQL-04000: You have an error in your CQL syntax; check the manual that corresponds to your Streaming version for the right syntax to use near 'from' at line 1:8.

      at com.huawei.streaming.cql.semanticanalyzer.parser.CQLErrorListener.syntaxError()
    2. com.huawei.streaming
      CQLErrorListener.syntaxError
      1. com.huawei.streaming.cql.semanticanalyzer.parser.CQLErrorListener.syntaxError(CQLErrorListener.java:61)[classes/:na]
      1 frame
    3. ANTLR 4 Runtime
      Parser.notifyErrorListeners
      1. org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)[antlr4-runtime-4.1.jar:4.1]
      2. org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:473)[antlr4-runtime-4.1.jar:4.1]
      2 frames
    4. com.huawei.streaming
      CQLErrorStrategy.reportNoViableAlternative
      1. com.huawei.streaming.cql.semanticanalyzer.parser.CQLErrorStrategy.reportNoViableAlternative(CQLErrorStrategy.java:60)[classes/:na]
      1 frame
    5. ANTLR 4 Runtime
      DefaultErrorStrategy.reportError
      1. org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:145)[antlr4-runtime-4.1.jar:4.1]
      1 frame
    6. com.huawei.streaming
      ApplicationParserTest.testParse
      1. com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.selectExpression(CQLParser.java:8166)[classes/:na]
      2. com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.selectItem(CQLParser.java:7909)[classes/:na]
      3. com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.selectList(CQLParser.java:7852)[classes/:na]
      4. com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.subSelectClause(CQLParser.java:7801)[classes/:na]
      5. com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.selectClause(CQLParser.java:7746)[classes/:na]
      6. com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.selectStatement(CQLParser.java:4811)[classes/:na]
      7. com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.execStatement(CQLParser.java:367)[classes/:na]
      8. com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.statement(CQLParser.java:248)[classes/:na]
      9. com.huawei.streaming.cql.semanticanalyzer.parser.ApplicationParser.parse(ApplicationParser.java:61)[classes/:na]
      10. com.huawei.streaming.cql.semanticanalyzer.parser.ApplicationParserTest.testParse(ApplicationParserTest.java:45)[test-classes/:na]
      10 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_67]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_67]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_67]
      4. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_67]
      4 frames
    8. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)[junit-4.10.jar:na]
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)[junit-4.10.jar:na]
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)[junit-4.10.jar:na]
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)[junit-4.10.jar:na]
      5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)[junit-4.10.jar:na]
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)[junit-4.10.jar:na]
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)[junit-4.10.jar:na]
      8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)[junit-4.10.jar:na]
      9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)[junit-4.10.jar:na]
      10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)[junit-4.10.jar:na]
      11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)[junit-4.10.jar:na]
      12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)[junit-4.10.jar:na]
      13. org.junit.runners.ParentRunner.run(ParentRunner.java:300)[junit-4.10.jar:na]
      13 frames
    9. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)[surefire-junit4-2.12.4.jar:2.12.4]
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)[surefire-junit4-2.12.4.jar:2.12.4]
      3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)[surefire-junit4-2.12.4.jar:2.12.4]
      3 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_67]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_67]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_67]
      4. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_67]
      4 frames
    11. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)[surefire-api-2.12.4.jar:2.12.4]
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)[surefire-booter-2.12.4.jar:2.12.4]
      3. org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)[surefire-booter-2.12.4.jar:2.12.4]
      4. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)[surefire-booter-2.12.4.jar:2.12.4]
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)[surefire-booter-2.12.4.jar:2.12.4]
      5 frames