You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Kazuaki Ishizaki (Jira)" <ji...@apache.org> on 2020/04/17 01:21:00 UTC
[jira] [Created] (PARQUET-1843) [C++] Unnecessary assignment in
DictDecoderImpl::Decode
Kazuaki Ishizaki created PARQUET-1843:
-----------------------------------------
Summary: [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
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)