Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-9116

[C++] Add BinaryArray::total_values_length()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • C++

    Description

      It's often useful to compute the total data size of a binary array.
      Sample implementation:

        int64_t total_values_length() const {
          return raw_value_offsets_[length() + data_->offset] - raw_value_offsets_[data_->offset];
        }
      

      Attachments

        Issue Links

          Activity

            People

              wesm Wes McKinney
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1h
                  1h