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:42:00 UTC

[jira] [Commented] (IOTDB-2259) [Aligned timeseries] insert into:Data type mismatch ,Error information is incorrect

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

刘珍 commented on IOTDB-2259:
---------------------------

报错信息不太精确。
IoTDB> insert into root.lz.dev.GPS(time,latitude,longitude ) aligned values(1,1.3,6.7);
Msg: 313: failed to insert measurements [latitude, longitude] {color:#DE350B}caused by For input string: "1.3"{color}


> [Aligned timeseries] insert into:Data type mismatch ,Error information is incorrect
> -----------------------------------------------------------------------------------
>
>                 Key: IOTDB-2259
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2259
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Server
>    Affects Versions: 0.13.0-SNAPSHOT
>            Reporter: 刘珍
>            Assignee: Haonan Hou
>            Priority: Minor
>              Labels: pull-request-available
>
> insert into 对齐时间序列,数据类型不匹配,报错信息不正确
> CREATE ALIGNED TIMESERIES root.lz.dev.GPS(latitude INT32 encoding=PLAIN compressor=SNAPPY, longitude INT32 encoding=PLAIN compress   or=SNAPPY) ;
> insert into root.lz.dev.GPS(time,latitude,longitude ) aligned values(1,1.3,6.7);
> Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: executeNonQueryPlan failed. Null
> 错误日志:
> 2022-01-04 14:40:38,428 [pool-12-IoTDB-RPC-Client-8] ERROR o.a.i.d.u.ErrorHandlingUtils:57 - Status code: INTERNAL_SERVER_ERROR(500), operation: executeNonQueryPlan failed
> java.lang.NullPointerException: null
>         at org.apache.iotdb.db.utils.datastructure.AlignedTVList.alignedTvListArrayMemCost(AlignedTVList.java:866)
>         at org.apache.iotdb.db.engine.storagegroup.TsFileProcessor.checkAlignedMemCostAndAddToTspInfo(TsFileProcessor.java:406)
>         at org.apache.iotdb.db.engine.storagegroup.TsFileProcessor.insert(TsFileProcessor.java:219)
>         at org.apache.iotdb.db.engine.storagegroup.VirtualStorageGroupProcessor.insertToTsFileProcessor(VirtualStorageGroupProcessor.java:1149)
>         at org.apache.iotdb.db.engine.storagegroup.VirtualStorageGroupProcessor.insert(VirtualStorageGroupProcessor.java:922)
>         at org.apache.iotdb.db.engine.StorageEngine.insert(StorageEngine.java:600)
>         at org.apache.iotdb.db.qp.executor.PlanExecutor.insert(PlanExecutor.java:1482)
>         at org.apache.iotdb.db.qp.executor.PlanExecutor.processNonQuery(PlanExecutor.java:270)
>         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)



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