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

[Rust] Validate null counts when building arrays

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Rust

    Description

      ArrayDataBuilder allows the user to specify a null count, alternatively calculating it if it is not set.

      The problem is that the user-specified null count is never validated against the actual count of the buffer.

      I suggest removing the ability to specify a null-count, and instead always calculating it.

      Attachments

        Issue Links

          Activity

            People

              nevi_me Neville Dipale
              nevi_me Neville Dipale
              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 - 1h
                  1h

                  Slack

                    Issue deployment