AlenkaF commented on issue #46946:
URL: https://github.com/apache/arrow/issues/46946#issuecomment-3043708795

   I plan to:
   
   - Add a `message(FATAL_ERROR "...")` in `python/CMakeLists.txt` if Arrow C++ 
was built with `ARROW_CSV=OFF,` while keeping the CSV module enabled by default 
in PyArrow. For example:
   
      ```
      if(NOT ARROW_CSV)
       message(FATAL_ERROR "ARROW_CSV must be ON to build PyArrow (CSV support 
required)")
      endif()
      ```
   
   We could also:
   
   - Optionally make CSV support in PyArrow configurable (e.g. with a 
`PYARROW_WITH_CSV` flag), and skip building the CSV module if it’s not 
available.
   
   That said, since `pyarrow-core` currently includes CSV functionality, it 
makes sense to keep it enabled by default.


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

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

Reply via email to