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

[Docs] NumericArray has no member named 'raw_data'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.6.0
    • 0.7.0
    • C++, Documentation
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: