You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "xiaozhihong (Jira)" <ji...@apache.org> on 2022/09/02 10:05:00 UTC
[jira] [Created] (IOTDB-4318) [RESTAPI]data type conversion failed
xiaozhihong created IOTDB-4318:
----------------------------------
Summary: [RESTAPI]data type conversion failed
Key: IOTDB-4318
URL: https://issues.apache.org/jira/browse/IOTDB-4318
Project: Apache IoTDB
Issue Type: Bug
Components: Client/Others
Affects Versions: 0.13.2
Reporter: xiaozhihong
Assignee: luke.miao
Attachments: image-2022-09-02-18-02-40-591.png
When using the API tool to execute the REST API test, when writing data through the interface rest/v1/insertTablet, the BOOLEAN type is written through 1 and 0, and finally the result is abnormal.
{code:java}
//url: rest/v1/insertTablet
{"timestamps":[1,2,3],"measurements":["temperature","status"],"dataTypes":["FLOAT","BOOLEAN"],"values":[[1,2,3],[1,0,1]],"isAligned":false,"deviceId":"root.sg1.d1"}{code}
!image-2022-09-02-18-02-40-591.png|width=533,height=247!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)