Reranko05 commented on PR #50606:
URL: https://github.com/apache/arrow/pull/50606#issuecomment-5060251525

   @raulcd @kou I've investigated this further but I'm stuck on the remaining 
linker failure and would appreciate some guidance.
   
   The Windows JNI job now builds almost completely and only fails while 
linking `arrow-substrait-substrait-test` with these two unresolved symbols:
   
   - `arrow::engine::internal::CreateScanProjectSubstrait`
   - `arrow::engine::internal::CreateScanAggSubstrait`
   
   Both are defined and declared in `test_plan_builder.{cc,h}`
   
   So far I've verified that:
   - `test_plan_builder.cc` is included in `ARROW_SUBSTRAIT_SRCS`.
   - `arrow_substrait_static` is linked into `arrow-substrait-substrait-test`.
   - The linker reports these two symbols as `__declspec(dllimport)`.
   - I also investigated `ARROW_ENGINE_STATIC`, but unlike other modules I 
couldn't find it being propagated anywhere in the CMake build (it's only 
referenced in Meson/pkg-config), so I'm not convinced that's the root cause.
   
   Most other symbols from `arrow_substrait_static` link successfully; only 
these two remain unresolved.
   
   At this point I'm not sure where to continue debugging.


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