Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
benchmark master 。
附件中的配置,
VECTOR=true
TEMPLATE=true
生成的查询语句,from device 设备名称中有.vector,where条件中的设备名称没有.vector,
导致查询报错:
2022-03-16 01:42:58,710 [pool-13-IoTDB-RPC-Client-53] ERROR o.a.i.d.u.ErrorHandlingUtils:83 - Status code: 411, Query Statement: "SELECT s_647 FROM root.test.g_2.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.d_1102.vector WHERE time >= 1537500050000 AND time <= 1537500300000 AND root.test.g_2.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.d_1102.s_647 > -5". executeQueryStatement failed
org.apache.iotdb.db.exception.query.LogicalOptimizeException: Unknown time series root.test.g_2.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.hello1234567890hello.d_1102.s_647 in `where clause`
at org.apache.iotdb.db.qp.strategy.optimizer.ConcatPathOptimizer.removeWildcardsInConcatPaths(ConcatPathOptimizer.java:376)
at org.apache.iotdb.db.qp.strategy.optimizer.ConcatPathOptimizer.concatFilterAndRemoveWildcards(ConcatPathOptimizer.java:306)
at org.apache.iotdb.db.qp.strategy.optimizer.ConcatPathOptimizer.concatFilterAndRemoveWildcards(ConcatPathOptimizer.java:287)
at org.apache.iotdb.db.qp.strategy.optimizer.ConcatPathOptimizer.concatFilterAndRemoveWildcards(ConcatPathOptimizer.java:269)
at org.apache.iotdb.db.qp.strategy.optimizer.ConcatPathOptimizer.transform(ConcatPathOptimizer.java:80)
at org.apache.iotdb.db.qp.Planner.optimizeQueryOperator(Planner.java:153)
at org.apache.iotdb.db.qp.Planner.logicalOptimize(Planner.java:136)
at org.apache.iotdb.db.qp.Planner.generatePhysicalPlanFromOperator(Planner.java:113)
at org.apache.iotdb.db.qp.Planner.parseSQLToPhysicalPlan(Planner.java:63)
at org.apache.iotdb.db.service.thrift.impl.TSServiceImpl.executeQueryStatement(TSServiceImpl.java:652)
at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$executeQueryStatement.getResult(TSIService.java:2903)
at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$executeQueryStatement.getResult(TSIService.java:2883)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:38)
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)