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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   When using the `ReadOptions` type, and setting `None` to `column_names`. 
ReadOptions is then setting it to `[]`. 
   
   Changing the value afterwards results into an error:
   ```
   read_options.column_names = None
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ 
   
   >   ???
   E   TypeError: 'NoneType' object is not iterable
   ```
   
   This means that it force us to define our `columns` **manually**, rather 
than it automatically discovering it from the head.
   
   
   Any idea?
   
   ### Component(s)
   
   Python


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to