[ 
https://issues.apache.org/jira/browse/ARROW-13304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17379249#comment-17379249
 ] 

Mauricio 'Pachá' Vargas Sepúlveda commented on ARROW-13304:
-----------------------------------------------------------

after doing a fetch + merge, the problem changes

 
{code:java}
      |   ^~~~~~~~~~~
      |   arrow::StopIfNotOk
In file included from csv.cpp:18:
./arrow_types.h:79:20: note: ‘arrow::StopIfNotOk’ declared here
   79 | static inline void StopIfNotOk(const Status& status) {
      |                    ^~~~~~~~~~~
csv.cpp: In function ‘void csv___WriteCSV__RecordBatch(const 
std::shared_ptr<arrow::RecordBatch>&, const 
std::shared_ptr<arrow::csv::WriteOptions>&, const 
std::shared_ptr<arrow::io::OutputStream>&)’:
csv.cpp:202:79: error: no matching function for call to 
‘WriteCSV(std::__shared_ptr_access<arrow::RecordBatch, __gnu_cxx::_S_atomic, 
false, false>::element_type&, 
std::__shared_ptr_access<arrow::csv::WriteOptions, __gnu_cxx::_S_atomic, false, 
false>::element_type&, std::__shared_ptr<arrow::io::OutputStream, 
__gnu_cxx::_S_atomic>::element_type*)’
  202 |   StopIfNotOk(arrow::csv::WriteCSV(*record_batch, *write_options, 
stream.get()));
      |                                                                         
      ^
In file included from csv.cpp:23:
/home/pacha/.arrow/include/arrow/csv/writer.h:39:21: note: candidate: 
‘arrow::Status arrow::csv::WriteCSV(const arrow::Table&, const 
arrow::csv::WriteOptions&, arrow::MemoryPool*, arrow::io::OutputStream*)’
   39 | ARROW_EXPORT Status WriteCSV(const Table& table, const WriteOptions& 
options,
      |                     ^~~~~~~~
/home/pacha/.arrow/include/arrow/csv/writer.h:39:21: note:   candidate expects 
4 arguments, 3 provided
/home/pacha/.arrow/include/arrow/csv/writer.h:43:21: note: candidate: 
‘arrow::Status arrow::csv::WriteCSV(const arrow::RecordBatch&, const 
arrow::csv::WriteOptions&, arrow::MemoryPool*, arrow::io::OutputStream*)’
   43 | ARROW_EXPORT Status WriteCSV(const RecordBatch& batch, const 
WriteOptions& options,
      |                     ^~~~~~~~
/home/pacha/.arrow/include/arrow/csv/writer.h:43:21: note:   candidate expects 
4 arguments, 3 provided
csv.cpp:202:3: error: ‘StopIfNotOk’ was not declared in this scope; did you 
mean ‘arrow::StopIfNotOk’?
  202 |   StopIfNotOk(arrow::csv::WriteCSV(*record_batch, *write_options, 
stream.get()));
      |   ^~~~~~~~~~~
      |   arrow::StopIfNotOk
In file included from csv.cpp:18:
./arrow_types.h:79:20: note: ‘arrow::StopIfNotOk’ declared here
   79 | static inline void StopIfNotOk(const Status& status) {
      |                    ^~~~~~~~~~~
make: *** [/usr/lib/R/etc/Makeconf:177: csv.o] Error 1
ERROR: compilation failed for package ‘arrow’
* removing ‘/home/pacha/R/x86_64-pc-linux-gnu-library/4.1/arrow’
* restoring previous ‘/home/pacha/R/x86_64-pc-linux-gnu-library/4.1/arrow’ 
{code}
 

> [C++] Unable to install nightly on Ubuntu 21.04 due to day of week options
> --------------------------------------------------------------------------
>
>                 Key: ARROW-13304
>                 URL: https://issues.apache.org/jira/browse/ARROW-13304
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 4.0.1
>         Environment: Ubuntu 21.04
>            Reporter: Mauricio 'Pachá' Vargas Sepúlveda
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 5.0.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> I see this errors after fetching from apache/arrow now:
>  
> {code:java}
> compute.cpp: In function ‘std::shared_ptr<arrow::compute::FunctionOptions> 
> make_compute_options(std::string, cpp11::list)’: compute.cpp:268:37: error: 
> ‘DayOfWeekOptions’ in namespace ‘arrow::compute’ does not name a type 268 | 
> using Options = arrow::compute::DayOfWeekOptions; | ^~~~~~~~~~~~~~~~ {code}
>  
> Some possible merged PR that might cause this is 
> [https://github.com/apache/arrow/commit/fdd7d32bcbc4086242e6a3517ef49e4f4468bd56]
>  (ARROW-13054)
>  
> I fetched the last changes up to 91f26



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to