CurtHagenlocher commented on issue #40517:
URL: https://github.com/apache/arrow/issues/40517#issuecomment-1996323178

   Your example works if I add a quick hack e.g.
   
   ```
   +            if (nullCount == RecalculateNullCount)
   +            {
   +                NullCount = CalculateNullCount();
   +            }
   ```
   and
   
   ```
   +        public int CalculateNullCount()
   +        {
   +            switch (DataType)
   +            {
   +                case FixedWidthType fixedWidthType:
   +                    ArrowBuffer nullBuffer = Buffers[0];
   +                    return nullBuffer.IsEmpty ? 0 : 
BitUtility.CountBits(nullBuffer.Span);
   +                default:
   +                    // TODO:
   +                    throw new NotImplementedException();
   +            }
   +        }
   ```
   
   I can finish implementing this over the coming weekend, or someone else 
could take it on.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to