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/20 01:28:00 UTC

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

    [ https://issues.apache.org/jira/browse/IOTDB-2263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17479047#comment-17479047 ] 

刘珍 commented on IOTDB-2263:
---------------------------

0.13.0 预发版v1,通过。

> [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: 刘珍
>            Assignee: Yukun Zhou
>            Priority: Critical
>
> 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.apache.iotdb.db.service.thrift.impl.TSServiceImpl$QueryTask.call(TSServiceImpl.java:154)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         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 message was sent by Atlassian Jira
(v8.20.1#820001)