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

Chao Wang commented on IOTDB-5735:
----------------------------------

!image-2023-03-28-15-05-39-555.png!

> The result of adding the distinct function to the align by device is 
> incorrect.
> -------------------------------------------------------------------------------
>
>                 Key: IOTDB-5735
>                 URL: https://issues.apache.org/jira/browse/IOTDB-5735
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: mpp-cluster
>    Affects Versions: 1.0.0
>            Reporter: Chao Wang
>            Priority: Major
>         Attachments: image-2023-03-28-15-04-19-381.png, 
> image-2023-03-28-15-04-40-437.png
>
>
> Currently, a storage group can contain a maximum of five RegionGroups. Data 
> in different time periods of the same sequence is allocated to different 
> RegionGroups using hash algorithm. In this case, data of the same sequence is 
> stored in different Region Groups.
> According to the execution plan of the distinct + align by device syntax, 
> distinct data is delivered to multiple region groups for execution and then 
> summarized and returned. During the summarization, distinct processing is not 
> performed. As a result, duplicate data exists between multiple region groups.
> !image-2023-03-28-15-04-19-381.png!
> !image-2023-03-28-15-04-40-437.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to