fenfeng9 commented on PR #49908:
URL: https://github.com/apache/arrow/pull/49908#issuecomment-4363612434

   The added tests use a simplified version of the reproducer from the issue.
   #### Reproduce
   ```python
   import pyarrow as pa
   import pyarrow.compute as pc
   
   array = pa.array([1, None])
   encoded = pc.run_end_encode(array)
   
   print(f"plain only_null: ", pc.count(array, mode="only_null"))
   print(f"run_end_encode only_null: ", pc.count(encoded, mode="only_null"))
   ```
   #### Result
   ```
   plain only_null:  1
   run_end_encode only_null:  0
   ```


-- 
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