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

[C++] Avoid bitmap buffer if all inputs are all valid for Scalar Kernels

    XMLWordPrintableJSON

Details

    Description

      Cast kernels seem to always create and populate the null bitmap even if the input data structure had a nullptr null bitmap. This automatic and extra allocation is not desirable, and not consistent.

      It seems some cast kernels use COMPUTED_NO_PREALLOCATE and others use the default (INTERSECTION). We could change INTERSECTION to be a general case where if all inputs have no nulls, then a null bitmap should not be emitted.

      Attachments

        Issue Links

          Activity

            People

              pradeepgarigipati Pradeep Garigipati
              edponce Eduardo Ponce
              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 - 5h
                  5h