[
https://issues.apache.org/jira/browse/IOTDB-4318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haonan Hou reopened IOTDB-4318:
-------------------------------
> [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: rongli
> Priority: Major
> Labels: pull-request-available
> 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)