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

FengQingxin commented on IOTDB-1386:
------------------------------------

!image-2022-04-21-17-21-31-731.png!

> server - last, align by device bug
> ----------------------------------
>
>                 Key: IOTDB-1386
>                 URL: https://issues.apache.org/jira/browse/IOTDB-1386
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Planner/SQLParser
>            Reporter: Haimei Guo
>            Priority: Minor
>              Labels: easy-fix
>         Attachments: image-2021-05-21-14-11-17-301.png, 
> image-2022-04-21-17-21-31-731.png
>
>
> To my understanding, LAST and FILL should not be used together, but it 
> executes fine. 
>  When add ALIGN BY DEVICE, LAST seems to be not working.
> SQL as following:
>  - select last s3,s3 from root.sg1.d1 where time=600 
> fill(double[previous],double[linear]) align by device
>  - select last s3,s3 from root.sg1.d1 where time=600 
> fill(double[previous],double[linear])
>  - select last s3,s3 from root.sg1.d1 where time=600 align by device
> !image-2021-05-21-14-11-17-301.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to