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

[Docs] NumericArray has no member named 'raw_data'

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.7.0
    • Component/s: C++, Documentation
    • Labels:
      None

      Description

      The example in the C++ docs uses a non-existing raw_data function https://arrow.apache.org/docs/cpp/index.html

      // Get the pointer to the actual data
      const int64_t* data = int64_array->raw_data();
      

      Trying to compile it, you get:

      error: 'class arrow::NumericArray<arrow::Int64Type>' has no member named 'raw_data'
           const int64_t* data = int64_array->raw_data();
      

      The function used should be raw_values

        Attachments

          Activity

            People

            • Assignee:
              rvernica Rares Vernica
              Reporter:
              rvernica Rares Vernica
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: