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

[C++] Do not allocate memory for primitive outputs in CastKernel::Call implementation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • C++

    Description

      This is some refactoring / tidying. Unless an output of cast has a non-determinate size (e.g. is Binary or something else), the CastKernel::Call implementation should assume that it is writing into pre-allocated memory. The corresponding memory allocation can be lifted into the arrow::compute::Cast API

      Attachments

        Issue Links

          Activity

            People

              wesm Wes McKinney
              wesm Wes McKinney
              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 - 5.5h
                  5.5h