mapleFU commented on PR #36915:
URL: https://github.com/apache/arrow/pull/36915#issuecomment-1655000063

   ```
   
C:\projects\arrow\cpp\build\src\arrow\engine\CMakeFiles\arrow_substrait_shared.dir\Unity\unity_1_cxx.cxx
   C:/projects/arrow/cpp/src/arrow/engine/substrait/type_internal.cc(80): error 
C2672: 'arrow::Result<arrow::FieldVector>::Map': no matching overloaded 
function found
   C:/projects/arrow/cpp/src/arrow/engine/substrait/type_internal.cc(164): 
note: see reference to function template instantiation 
'arrow::Result<arrow::FieldVector> 
arrow::engine::`anonymous-namespace'::FieldsFromProto<google::protobuf::RepeatedPtrField<substrait::Type>,arrow::engine::FromProto::<lambda_998f5b636b6257cbec583f504695a06c>>(int,const
 Types &,const NextName &,const arrow::engine::ExtensionSet &,const 
arrow::engine::ConversionOptions &)' being compiled
           with
           [
               Types=google::protobuf::RepeatedPtrField<substrait::Type>,
               
NextName=arrow::engine::FromProto::<lambda_998f5b636b6257cbec583f504695a06c>
           ]
   C:/projects/arrow/cpp/src/arrow/engine/substrait/type_internal.cc(80): error 
C2783: 'EnsureResult<unknown-type>::type 
arrow::Result<arrow::FieldVector>::Map(M &&) const &': could not deduce 
template argument for 'M'
   C:\projects\arrow\cpp\src\arrow/result.h(392): note: see declaration of 
'arrow::Result<arrow::FieldVector>::Map'
   C:/projects/arrow/cpp/src/arrow/engine/substrait/type_internal.cc(80): error 
C2783: 'EnsureResult<unknown-type>::type 
arrow::Result<arrow::FieldVector>::Map(M &&) &&': could not deduce template 
argument for 'M'
   C:\projects\arrow\cpp\src\arrow/result.h(380): note: see declaration of 
'arrow::Result<arrow::FieldVector>::Map'
   C:/projects/arrow/cpp/src/arrow/engine/substrait/type_internal.cc(80): error 
C2530: '_error_or_value20': references must be initialized
   C:/projects/arrow/cpp/src/arrow/engine/substrait/type_internal.cc(80): error 
C3536: '_error_or_value20': cannot be used before it is initialized
   ```
   
   Would you mind fix lint first?


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