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

[C++] Int64Builder.Finish(NumericArray<Int64Type>)

    XMLWordPrintableJSON

Details

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

    Description

      I was intuitively thinking that the following code would work:

      Status s;
      Int64Builder builder;
      s = builder.Append(1);
      s = builder.Append(2);

      std::shared_ptr<NumericArray<Int64Type>> array;
      builder.Finish(&array);

      However, it does not seem to work, as the finish operation is not overloaded in the Int64 (or the numeric builder).

      Would it make sense to add this interface?

      Attachments

        Issue Links

          Activity

            People

              bkietz Ben Kietzman
              wolfv Wolf Vollprecht
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 50m
                  1h 50m