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

xiaozhihong commented on IOTDB-2257:
------------------------------------

!image-2022-01-20-11-28-40-509.png!

> Add consistency checks for measurement lists size and value lists size in the 
> SELECT statement
> ----------------------------------------------------------------------------------------------
>
>                 Key: IOTDB-2257
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2257
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Server
>    Affects Versions: 0.13.0-SNAPSHOT
>            Reporter: xiaozhihong
>            Assignee: Minghui Liu
>            Priority: Major
>              Labels: 0.13.0, pull-request-available
>         Attachments: image-2022-01-04-15-44-37-453.png, 
> image-2022-01-20-11-28-40-509.png
>
>
> When we execute the following SQL in the CLI, the error message "the 
> measurementList's size is not consistent with the valueList's size" should be 
> thrown.
> {code:sql}
> insert into root.sg.d1(time,s1) values(31)
> insert into root.sg.d1(time,s1) values(31, 32, 33)
> insert into root.sg.d1(time,s1,s2) values(31)
> insert into root.sg.d1(time,s1,s2) values(31, 32)
> insert into root.sg.d1(time,s1,s2) values(31, 32, 33, 34)
> insert into root.sg.d1(s1) values(31, 32)
> insert into root.sg.d1(s1,s2) values(31)
> insert into root.sg.d1(s1,s2) values(31, 32, 33){code}



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

Reply via email to