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

[C++] Use kUnknownNullCount in NumericArray constructor

    XMLWordPrintableJSON

Details

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

    Description

      Currently, the default value in the NumericArray constructor for the null_count is 0.

      I wonder wether it would be better to use kUnknownNullCount instead? A user could still choose to supply a null_count of 0, or a nullptr as bitmask which would imply a null_count of 0 as well.

      Attachments

        Issue Links

          Activity

            People

              bkietz Ben Kietzman
              wolfv Wolf Vollprecht
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 2h
                  2h