[
https://issues.apache.org/jira/browse/IOTDB-4318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17607578#comment-17607578
]
xiaozhihong commented on IOTDB-4318:
------------------------------------
!image-2022-09-21-15-51-30-235.png|width=637,height=379!
!image-2022-09-21-15-51-59-418.png|width=629,height=469!
> [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,
> image-2022-09-21-15-51-30-235.png, image-2022-09-21-15-51-59-418.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)