You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "刘珍 (Jira)" <ji...@apache.org> on 2022/01/07 09:47:00 UTC

[jira] [Created] (IOTDB-2301) [Aligned timeseries] delete ** :java.lang.IndexOutOfBoundsException: Index: 1, Size: 1

刘珍 created IOTDB-2301:
-------------------------

             Summary: [Aligned timeseries]  delete ** :java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
                 Key: IOTDB-2301
                 URL: https://issues.apache.org/jira/browse/IOTDB-2301
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Server
    Affects Versions: 0.13.0-SNAPSHOT
            Reporter: 刘珍
         Attachments: image-2022-01-07-17-45-37-183.png

复现用例:
CREATE ALIGNED TIMESERIES root.ln.wf01.GPS(latitude FLOAT encoding=PLAIN compressor=SNAPPY, longitude FLOAT encoding=PLAIN compressor=SNAPPY);
insert into root.ln.wf01.GPS(time,latitude,longitude ) aligned values(1,111.2,222.8),(2,222,3,444,3);
select *  from root.ln.**;

delete from root.ln.**;
 !image-2022-01-07-17-45-37-183.png! 
日志:
2022-01-07 17:43:40,536 [pool-12-IoTDB-RPC-Client-2] WARN  o.a.i.d.u.ErrorHandlingUtils:137 - Exception occurred while processing non-query.
org.apache.iotdb.db.exception.query.QueryProcessException: org.apache.iotdb.db.exception.StorageEngineException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
        at org.apache.iotdb.db.qp.executor.PlanExecutor.delete(PlanExecutor.java:1363)
        at org.apache.iotdb.db.qp.executor.PlanExecutor.delete(PlanExecutor.java:1092)
        at org.apache.iotdb.db.qp.executor.PlanExecutor.processNonQuery(PlanExecutor.java:267)
        at org.apache.iotdb.db.service.basic.BasicServiceProvider.executeNonQuery(BasicServiceProvider.java:257)
        at org.apache.iotdb.db.service.thrift.impl.TSServiceImpl.executeNonQueryPlan(TSServiceImpl.java:1900)
        at org.apache.iotdb.db.service.thrift.impl.TSServiceImpl.executeNonQueryStatement(TSServiceImpl.java:1049)
        at org.apache.iotdb.db.service.thrift.impl.TSServiceImpl.executeUpdateStatement(TSServiceImpl.java:1042)
        at org.apache.iotdb.db.service.thrift.impl.TSServiceImpl.executeStatement(TSServiceImpl.java:552)
        at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$executeStatement.getResult(TSIService.java:2733)
        at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$executeStatement.getResult(TSIService.java:2713)
        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)
Caused by: org.apache.iotdb.db.exception.StorageEngineException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
        at org.apache.iotdb.db.engine.StorageEngine.delete(StorageEngine.java:758)
        at org.apache.iotdb.db.qp.executor.PlanExecutor.delete(PlanExecutor.java:1361)
        ... 15 common frames omitted




--
This message was sent by Atlassian Jira
(v8.20.1#820001)