You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Chao Wang (Jira)" <ji...@apache.org> on 2023/03/28 07:08:00 UTC

[jira] [Assigned] (IOTDB-5735) The result of adding the distinct function to the align by device is incorrect.

     [ https://issues.apache.org/jira/browse/IOTDB-5735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chao Wang reassigned IOTDB-5735:
--------------------------------

    Assignee: Chao Wang

> 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
>            Assignee: 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)