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

[C#] Array builders to use bit-packed buffer builder rather than boolean array builder for validity map

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.17.0
    • 1.0.0
    • C#

    Description

      The C# array builders were recently enhanced to have support for adding nullable values easily, under PR #7032.

      However, the builders internally referenced BooleanArray.Builder, which itself then had logic "baked-in" for efficient bit-packing of boolean values into a byte buffer.

      It would be cleaner for there to be a general-purpose bit-packed buffer builder, and for all array builders to use that for their validity map. The boolean array builder would use it twice: once for values, once for validity.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mr_smidge Adam Szmigin
              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 - 4.5h
                  4.5h