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/05 03:26:00 UTC

[jira] [Created] (IOTDB-2263) [Aligned timeseries] insert into aligned timeseries without aligned , operation is successful

刘珍 created IOTDB-2263:
-------------------------

             Summary: [Aligned timeseries] insert into aligned timeseries without aligned , operation is successful
                 Key: IOTDB-2263
                 URL: https://issues.apache.org/jira/browse/IOTDB-2263
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Server
            Reporter: 刘珍



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 ) values(1,111.2,222.8);
//insert应该报错
select * from root.ln.wf01.GPS
Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: "select * from root.ln.wf01.GPS". executeStatement failed. org.apache.iotdb.db.exception.query.QueryProcessException: Meet error when init series reader.

error 日志:
2022-01-04 11:00:35,969 [pool-17-IoTDB-Query-2] ERROR o.a.i.d.q.e.RawDataQueryExecutor:132 - Meet error when init series reader
java.lang.ClassCastException: org.apache.iotdb.db.engine.memtable.WritableMemChunkGroup cannot be cast to org.apache.iotdb.db.engine.memtable.AlignedWritableMemChunkGroup
        at org.apache.iotdb.db.metadata.path.AlignedPath.getReadOnlyMemChunkFromMemTable(AlignedPath.java:381)
        at org.apache.iotdb.db.engine.memtable.AbstractMemTable.query(AbstractMemTable.java:409)
        at org.apache.iotdb.db.engine.storagegroup.TsFileProcessor.query(TsFileProcessor.java:1289)
        at org.apache.iotdb.db.engine.storagegroup.VirtualStorageGroupProcessor.getFileResourceListForQuery(VirtualStorageGroupProcessor.java:1840)
        at org.apache.iotdb.db.engine.storagegroup.VirtualStorageGroupProcessor.query(VirtualStorageGroupProcessor.java:1729)
        at org.apache.iotdb.db.engine.StorageEngine.query(StorageEngine.java:792)
        at org.apache.iotdb.db.query.control.QueryResourceManager.getQueryDataSource(QueryResourceManager.java:95)
        at org.apache.iotdb.db.query.executor.RawDataQueryExecutor.initManagedSeriesReader(RawDataQueryExecutor.java:115)
        at org.apache.iotdb.db.query.executor.RawDataQueryExecutor.executeWithoutValueFilter(RawDataQueryExecutor.java:72)
        at org.apache.iotdb.db.query.executor.QueryRouter.rawDataQuery(QueryRouter.java:110)
        at org.apache.iotdb.db.qp.executor.PlanExecutor.processDataQuery(PlanExecutor.java:622)
        at org.apache.iotdb.db.qp.executor.PlanExecutor.processQuery(PlanExecutor.java:252)
        at org.apache.iotdb.db.service.basic.BasicServiceProvider.createQueryDataSet(BasicServiceProvider.java:243)
        at org.apache.iotdb.db.service.thrift.impl.TSServiceImpl.executeQueryPlan(TSServiceImpl.java:725)
        at org.apache.iotdb.db.service.thrift.impl.TSServiceImpl.access$200(TSServiceImpl.java:152)
        at org.apache.iotdb.db.service.thrift.impl.TSServiceImpl$QueryTask.call(TSServiceImpl.java:209)
        at org.apa



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