You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Krisztian Szucs (Jira)" <ji...@apache.org> on 2021/05/24 12:39:00 UTC

[jira] [Resolved] (ARROW-12771) [C++] Arrow compute hash_count skips following chunked arrays in streaming execution

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

Krisztian Szucs resolved ARROW-12771.
-------------------------------------
    Fix Version/s: 5.0.0
       Resolution: Fixed

Issue resolved by pull request 10309
[https://github.com/apache/arrow/pull/10309]

> [C++] Arrow compute hash_count skips following chunked arrays in streaming execution 
> -------------------------------------------------------------------------------------
>
>                 Key: ARROW-12771
>                 URL: https://issues.apache.org/jira/browse/ARROW-12771
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 4.0.0
>            Reporter: Chenxi Li
>            Assignee: Chenxi Li
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 5.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The parameter of {{MaybeReserve}} in {{has_count}}'s {{Consume}} function is incorrect.
> {code:java}
> MaybeReserve(counts_.length(), batch, [&](int64_t added_groups)
> {code}
> The {{counts_.length()}} means the buffer's byte size, it should be replaced with {{num_groups_}}.  Otherwise, subsequent chunked arrays with more groups are skipped as {{counts_.length()}} is actually {{num_groups_*sizeof(int64_t)}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)