sjperkins opened a new issue, #36502:
URL: https://github.com/apache/arrow/issues/36502

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Environment:
   
   OS: Ubuntu 20.04
   Python: 3.10
   Arrow: 12.0.0
   
   Reproducer:
   
   ```python
   import numpy as np
   import pyarrow as pa
   import pyarrow.compute as pac
   
   if __name__ == "__main__":
      pa.Table.from_pydict({"A": pac.run_end_encode(np.zeros(1000))}).nbytes
   ```
   
   Example error message:
   
   ```python
   In [10]: pa.Table.from_pydict({"A": 
pac.run_end_encode(np.zeros(1000))}).nbytes
   ---------------------------------------------------------------------------
   ArrowTypeError                            Traceback (most recent call last)
   Cell In[10], line 1
   ----> 1 pa.Table.from_pydict({"A": 
pac.run_end_encode(np.zeros(1000))}).nbytes
   
   File ~/venv/venv3.10/lib/python3.10/site-packages/pyarrow/table.pxi:4474, in 
pyarrow.lib.Table.nbytes.__get__()
   
   File ~/venv/venv3.10/lib/python3.10/site-packages/pyarrow/error.pxi:144, in 
pyarrow.lib.pyarrow_internal_check_status()
   
   File ~/venv/venv3.10/lib/python3.10/site-packages/pyarrow/error.pxi:123, in 
pyarrow.lib.check_status()
   
   ArrowTypeError: Extracting byte ranges not supported for type 
run_end_encoded<run_ends: int32, values: double>
   ```
   
   ### Component(s)
   
   C++


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