kou opened a new issue, #46022: URL: https://github.com/apache/arrow/issues/46022
### Describe the bug, including details regarding any error messages, version, and platform. https://dev.azure.com/ursacomputing/crossbow/_build/results?buildId=68969&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=6c939d89-0d1a-51f2-8b30-091a7a82e98c&l=1571 ```text /arrow/cpp/src/arrow/compute/kernels/pivot_internal.cc: In static member function ‘static arrow::Result<std::unique_ptr<arrow::compute::internal::PivotWiderKeyMapper> > arrow::compute::internal::PivotWiderKeyMapper::Make(const arrow::DataType&, const arrow::compute::PivotWiderOptions*, arrow::compute::ExecContext*)’: /arrow/cpp/src/arrow/compute/kernels/pivot_internal.cc:153:10: error: could not convert ‘instance’ from ‘std::unique_ptr<arrow::compute::internal::ConcretePivotWiderKeyMapper, std::default_delete<arrow::compute::internal::ConcretePivotWiderKeyMapper> >’ to ‘arrow::Result<std::unique_ptr<arrow::compute::internal::PivotWiderKeyMapper> >’ return instance; ^~~~~~~~ ``` g++ 7.5.0 is used by test-r-rstudio-r-base-4.1-opensuse155. ### Component(s) C++ -- 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