You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/05/13 12:02:00 UTC
[jira] [Assigned] (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 ]
David Li reassigned ARROW-12771:
--------------------------------
Assignee: Chenxi Li
> [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
> Time Spent: 20m
> 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)