com.huawei.streaming.cql.exception.SemanticAnalyzerException: ERROR CQL-04032: Group by is not allowed in multi insert statement.

GitHub | xiao321 | 7 months 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

    GitHub comment 30#237471932

    GitHub | 7 months ago | xiao321
    com.huawei.streaming.cql.exception.SemanticAnalyzerException: ERROR CQL-04032: Group by is not allowed in multi insert statement.
  2. 0

    mvn clean install失败

    GitHub | 7 months ago | xiao321
    com.huawei.streaming.cql.exception.SemanticAnalyzerException: ERROR CQL-04032: Group by is not allowed in multi insert statement.

    Root Cause Analysis

    1. com.huawei.streaming.cql.exception.SemanticAnalyzerException

      ERROR CQL-04032: Group by is not allowed in multi insert statement.

      at com.huawei.streaming.cql.semanticanalyzer.MultiInsertStatementAnalyzer.aggregateValidate()
    2. com.huawei.streaming
      MultiInsertStatementAnalyzerTest.testSimpleSelect4
      1. com.huawei.streaming.cql.semanticanalyzer.MultiInsertStatementAnalyzer.aggregateValidate(MultiInsertStatementAnalyzer.java:178)[classes/:na]
      2. com.huawei.streaming.cql.semanticanalyzer.MultiInsertStatementAnalyzer.validateSelectStatement(MultiInsertStatementAnalyzer.java:151)[classes/:na]
      3. com.huawei.streaming.cql.semanticanalyzer.MultiInsertStatementAnalyzer.analyze(MultiInsertStatementAnalyzer.java:95)[classes/:na]
      4. com.huawei.streaming.cql.semanticanalyzer.MultiInsertStatementAnalyzerTest.testSimpleSelect4(MultiInsertStatementAnalyzerTest.java:151)[test-classes/:na]
      4 frames
    3. 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
    4. 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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)[junit-4.10.jar:na]
      14. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)[junit-4.10.jar:na]
      15. org.junit.runners.ParentRunner.run(ParentRunner.java:300)[junit-4.10.jar:na]
      15 frames
    5. 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
    6. 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
    7. 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