raulcd opened a new issue, #45537:
URL: https://github.com/apache/arrow/issues/45537

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   The 
[test-skyhook-integration](https://github.com/ursacomputing/crossbow/actions/runs/13319884162/job/37202405252)
 has been failing since these commits where merged 
(https://github.com/apache/arrow/compare/f1961ecf8274535b02e8f183ffc0096c3bca9c1e...13940cdc7e463eff8001e05b86be62a7c0e4c189),
 with:
   ```
   FAILED: 
src/skyhook/CMakeFiles/arrow_skyhook_objlib.dir/client/file_skyhook.cc.o 
   /usr/local/bin/sccache /usr/lib/ccache/c++ -DARROW_HAVE_RUNTIME_AVX2 
-DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 
-DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_WITH_TIMING_TESTS 
-DBOOST_ALL_NO_LIB -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 
-I/build/cpp/src -I/arrow/cpp/src -I/arrow/cpp/src/generated -isystem 
/build/cpp/xsimd_ep/src/xsimd_ep-install/include -isystem 
/arrow/cpp/thirdparty/flatbuffers/include -isystem 
/build/cpp/opentelemetry_ep-install/include -Wredundant-move -Wno-noexcept-type 
 -fdiagnostics-color=always  -Wall -Wno-conversion -Wno-sign-conversion 
-Wdate-time -Wimplicit-fallthrough -Wunused-result -fno-semantic-interposition 
-msse4.2  -g -Werror -O0 -ggdb -g1 -fPIC -std=c++17 -MD -MT 
src/skyhook/CMakeFiles/arrow_skyhook_objlib.dir/client/file_skyhook.cc.o -MF 
src/skyhook/CMakeFiles/arrow_skyhook_objlib.dir/client/file_skyhook.cc.o.d -o 
src/skyhook/CMakeFiles/arrow_skyhook_objlib.dir/client/file_skyhook.cc.o -c 
/arrow/cpp/src/skyhook/
 client/file_skyhook.cc
   /arrow/cpp/src/skyhook/client/file_skyhook.cc: In member function 
'arrow::Result<std::function<arrow::Future<std::shared_ptr<arrow::RecordBatch> 
>()> > skyhook::SkyhookFileFormat::Impl::ScanBatchesAsync(const 
std::shared_ptr<const skyhook::SkyhookFileFormat>&, const 
std::shared_ptr<arrow::dataset::ScanOptions>&, const 
std::shared_ptr<arrow::dataset::FileFragment>&) const':
   /arrow/cpp/src/skyhook/client/file_skyhook.cc:61:64: error: invalid use of 
incomplete type 'class arrow::internal::Executor'
      61 |     auto fut = 
arrow::DeferNotOk(options->io_context.executor()->Submit(
         |                                                                ^~
   In file included from /arrow/cpp/src/arrow/util/async_generator_fwd.h:23,
                    from /arrow/cpp/src/arrow/dataset/dataset.h:32,
                    from /arrow/cpp/src/arrow/dataset/file_base.h:29,
                    from /arrow/cpp/src/arrow/dataset/file_parquet.h:30,
                    from /arrow/cpp/src/skyhook/client/file_skyhook.h:22,
                    from /arrow/cpp/src/skyhook/client/file_skyhook.cc:18:
   /arrow/cpp/src/arrow/util/type_fwd.h:34:7: note: forward declaration of 
'class arrow::internal::Executor'
      34 | class Executor;
         |       ^~~~~~~~
   /arrow/cpp/src/skyhook/client/file_skyhook.cc: In lambda function:
   /arrow/cpp/src/skyhook/client/file_skyhook.cc:95:29: error: 
'MakeVectorGenerator' is not a member of 'arrow'; did you mean 
'MakeVectorIterator'?
      95 |           auto gen = arrow::MakeVectorGenerator(std::move(batches));
         |                             ^~~~~~~~~~~~~~~~~~~
         |                             MakeVectorIterator
   /arrow/cpp/src/skyhook/client/file_skyhook.cc: In lambda function:
   /arrow/cpp/src/skyhook/client/file_skyhook.cc:97:82: error: 'gen' is not 
captured
      97 |           arrow::RecordBatchGenerator gen_with_client = [format, 
gen]() { return gen(); };
         |                                                                      
            ^~~
   /arrow/cpp/src/skyhook/client/file_skyhook.cc:97:69: note: the lambda has no 
capture-default
      97 |           arrow::RecordBatchGenerator gen_with_client = [format, 
gen]() { return gen(); };
         |                                                                     ^
   /arrow/cpp/src/skyhook/client/file_skyhook.cc:95:16: note: 
'<typeprefixerror>gen' declared here
      95 |           auto gen = arrow::MakeVectorGenerator(std::move(batches));
         |                ^~~
   /arrow/cpp/src/skyhook/client/file_skyhook.cc: In lambda function:
   /arrow/cpp/src/skyhook/client/file_skyhook.cc:97:89: error: conversion from 
'skyhook::SkyhookFileFormat::Impl::ScanBatchesAsync(const std::shared_ptr<const 
skyhook::SkyhookFileFormat>&, const 
std::shared_ptr<arrow::dataset::ScanOptions>&, const 
std::shared_ptr<arrow::dataset::FileFragment>&) const::<lambda()>::<lambda()>' 
to non-scalar type 'arrow::RecordBatchGenerator' {aka 
'std::function<arrow::Future<std::shared_ptr<arrow::RecordBatch> >()>'} 
requested
      97 |           arrow::RecordBatchGenerator gen_with_client = [format, 
gen]() { return gen(); };
         |                                                                      
                   ^
   /arrow/cpp/src/skyhook/client/file_skyhook.cc: In member function 
'arrow::Result<std::function<arrow::Future<std::shared_ptr<arrow::RecordBatch> 
>()> > skyhook::SkyhookFileFormat::Impl::ScanBatchesAsync(const 
std::shared_ptr<const skyhook::SkyhookFileFormat>&, const 
std::shared_ptr<arrow::dataset::ScanOptions>&, const 
std::shared_ptr<arrow::dataset::FileFragment>&) const':
   /arrow/cpp/src/skyhook/client/file_skyhook.cc:100:19: error: 
'MakeFromFuture' is not a member of 'arrow'
     100 |     return arrow::MakeFromFuture(std::move(fut));
         |                   ^~~~~~~~~~~~~~
   [911/917] Building CXX object 
src/skyhook/CMakeFiles/skyhook-cls-test.dir/cls/cls_skyhook_test.cc.o
   ninja: build stopped: subcommand failed.
   ```
   
   ### Component(s)
   
   Continuous Integration, 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

Reply via email to