[ 
https://issues.apache.org/jira/browse/ARROW-15101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antoine Pitrou resolved ARROW-15101.
------------------------------------
    Resolution: Fixed

Issue resolved by pull request 11950
[https://github.com/apache/arrow/pull/11950]

> [Python] Build failure when unity build disabled
> ------------------------------------------------
>
>                 Key: ARROW-15101
>                 URL: https://issues.apache.org/jira/browse/ARROW-15101
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Python
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 7.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> I get the following compile error here when building PyArrow:
> {code}
> /home/antoine/arrow/dev/python/build/temp.linux-x86_64-3.9/_csv.cpp:16716:70: 
> error: no member named 'WriteCSV' in namespace 'arrow::csv'
>           __pyx_t_4 = 
> __pyx_f_7pyarrow_3lib_check_status(arrow::csv::WriteCSV((*__pyx_v_batch), 
> __pyx_v_c_write_options, __pyx_v_stream.get())); if (unlikely(__pyx_t_4 == 
> ((int)-1))) __PYX_ERR(0, 1040, __pyx_L5_error)
>                                                          ~~~~~~~~~~~~^
> /home/antoine/arrow/dev/python/build/temp.linux-x86_64-3.9/_csv.cpp:16797:70: 
> error: no member named 'WriteCSV' in namespace 'arrow::csv'
>           __pyx_t_4 = 
> __pyx_f_7pyarrow_3lib_check_status(arrow::csv::WriteCSV((*__pyx_v_table), 
> __pyx_v_c_write_options, __pyx_v_stream.get())); if (unlikely(__pyx_t_4 == 
> ((int)-1))) __PYX_ERR(0, 1044, __pyx_L8_error)
>                                                          ~~~~~~~~~~~~^
> /home/antoine/arrow/dev/python/build/temp.linux-x86_64-3.9/_csv.cpp:17089:109:
>  error: no member named 'MakeCSVWriter' in namespace 'arrow::csv'
>         __pyx_t_2 = arrow::py::GetResultValue<std::shared_ptr< 
> arrow::ipc::RecordBatchWriter> >(arrow::csv::MakeCSVWriter(__pyx_v_c_stream, 
> __pyx_v_c_schema, __pyx_v_c_write_options)); if 
> (unlikely(__Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 1076, __pyx_L4_error)
>                                                                               
>                   ~~~~~~~~~~~~^
> 3 errors generated.
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to