You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/04/17 01:26:00 UTC

[jira] [Updated] (PARQUET-1843) [C++] Unnecessary assignment in DictDecoderImpl::Decode

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

ASF GitHub Bot updated PARQUET-1843:
------------------------------------
    Labels: pull-request-available  (was: )

> [C++] Unnecessary assignment in DictDecoderImpl::Decode
> -------------------------------------------------------
>
>                 Key: PARQUET-1843
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1843
>             Project: Parquet
>          Issue Type: Improvement
>          Components: parquet-cpp
>            Reporter: Kazuaki Ishizaki
>            Priority: Minor
>              Labels: pull-request-available
>
> The following duplicated assignments are unnecessary.
> {code}
>    int DecodeIndices(int num_values, arrow::ArrayBuilder* builder) override {
>      num_values = std::min(num_values, num_values_);
>      num_values = std::min(num_values, num_values_);
>      if (num_values > 0) {
> {code}



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