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

[C++] Decide on how pedantic we want to be about exceptions

    Details

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

      Description

      We currently have code sprinkled around constructors that can technically fail because we either do a memcpy/allocation via vector copy constructor (we might be using a move constructor in places) and make_shared<>.

      These are very small memory allocations but they can throw std::bad_alloc.

      Technically, we would need to convert these to use Init or static factories.

      (types.h is one place to look)

        Attachments

          Activity

            People

            • Assignee:
              wesmckinn Wes McKinney
              Reporter:
              emkornfield@gmail.com Micah Kornfield
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: