Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-1843

[C++] Unnecessary assignment in DictDecoderImpl::Decode

    XMLWordPrintableJSON

Details

    Description

      The following duplicated assignments are unnecessary.

         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) {
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kiszk Kazuaki Ishizaki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h