Wei-hao-Li opened a new pull request, #9593: URL: https://github.com/apache/iotdb/pull/9593
cause: forget to add SemanticCheck origin jira: https://jira.infra.timecho.com:8443/browse/TIMECHODB-74 content of jira: Msg: 305: [INTERNAL_SERVER_ERROR(305)] Exception occurred: "select s_19 from root.test.g_0.** where time=1535587210000 group by tags(workshop,city)". executeStatement failed. org.apache.iotdb.db.mpp.plan.expression.leaf.TimeSeriesOperand cannot be cast to org.apache.iotdb.db.mpp.plan.expression.multi.FunctionExpression 测试流程: 启动1C3D ,1副本 IoT协议 benchmark运行附件配置 给序列s_19 add tags cli 执行查询 ./sbin/start-cli.sh -h 172.20.70.2 -e "select s_19 from root.test.g_0.** where time=1535587210000 group by tags(workshop,city);" Msg: 305: [INTERNAL_SERVER_ERROR(305)] Exception occurred: "select s_19 from root.test.g_0.** where time=1535587210000 group by tags(workshop,city)". executeStatement failed. org.apache.iotdb.db.mpp.plan.expression.leaf.TimeSeriesOperand cannot be cast to org.apache.iotdb.db.mpp.plan.expression.multi.FunctionExpression datanode的warn log: 2023-04-04 13:47:45,982 [pool-31-IoTDB-ClientRPC-Processor-33] WARN o.a.i.d.u.ErrorHandlingUtils:61 - Status code: INTERNAL_SERVER_ERROR(305), operation: "select s_19 from root.test.g_0.** where time=1535587210000 group by tags(workshop,city)". executeStatement failed java.lang.ClassCastException: org.apache.iotdb.db.mpp.plan.expression.leaf.TimeSeriesOperand cannot be cast to org.apache.iotdb.db.mpp.plan.expression.multi.FunctionExpression at org.apache.iotdb.db.mpp.plan.analyze.AnalyzeVisitor.analyzeGroupByTag(AnalyzeVisitor.java:816) at org.apache.iotdb.db.mpp.plan.analyze.AnalyzeVisitor.visitQuery(AnalyzeVisitor.java:317) at org.apache.iotdb.db.mpp.plan.analyze.AnalyzeVisitor.visitQuery(AnalyzeVisitor.java:192) at org.apache.iotdb.db.mpp.plan.statement.crud.QueryStatement.accept(QueryStatement.java:595) at org.apache.iotdb.db.mpp.plan.statement.StatementVisitor.process(StatementVisitor.java:117) at org.apache.iotdb.db.mpp.plan.analyze.Analyzer.analyze(Analyzer.java:48) at org.apache.iotdb.db.mpp.plan.execution.QueryExecution.analyze(QueryExecution.java:285) at org.apache.iotdb.db.mpp.plan.execution.QueryExecution.<init>(QueryExecution.java:157) at org.apache.iotdb.db.mpp.plan.Coordinator.createQueryExecution(Coordinator.java:114) at org.apache.iotdb.db.mpp.plan.Coordinator.execute(Coordinator.java:148) at org.apache.iotdb.db.service.thrift.impl.ClientRPCServiceImpl.executeStatementInternal(ClientRPCServiceImpl.java:223) at org.apache.iotdb.db.service.thrift.impl.ClientRPCServiceImpl.executeStatementV2(ClientRPCServiceImpl.java:484) at org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatementV2.getResult(IClientRPCService.java:3861) at org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatementV2.getResult(IClientRPCService.java:3841) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38) at org.apache.iotdb.db.service.thrift.ProcessorWithMetrics.process(ProcessorWithMetrics.java:64) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:248) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
