NVIDIA / spark-rapids-examples

A repo for all spark examples using Rapids Accelerator including ETL, ML/DL, etc.
Apache License 2.0
130 stars 51 forks source link

The build for native UDF examples is failing #389

Closed firestarman closed 5 months ago

firestarman commented 5 months ago

Describe the bug Build failed due to the error as below.

[2024-06-10T07:58:38.312Z] [INFO]      [exec] /usr/include/c++/9/bits/unique_ptr.h:400:6: error: call of overloaded 'swap(rmm::device_uvector<thrust::pair<const char*, int> >*&, rmm::device_uvector<thrust::pair<const char*, int> >*&)' is ambiguous

[2024-06-10T07:58:38.312Z] [INFO]      [exec]   400 |  swap(_M_t._M_ptr(), __p);

[2024-06-10T07:58:38.312Z] [INFO]      [exec]       |  ~~~~^~~~~~~~~~~~~~~~~~~~

[2024-06-10T07:58:38.312Z] [INFO]      [exec] In file included from /usr/include/c++/9/bits/stl_iterator.h:65,

[2024-06-10T07:58:38.312Z] [INFO]      [exec]                  from /usr/include/c++/9/iterator:63,

[2024-06-10T07:58:38.312Z] [INFO]      [exec]                  from /home/jenkins/agent/workspace/jenkins-examples-udf-examples-native-147/examples/UDF-Examples/RAPIDS-accelerated-UDFs/target/cpp-build/_deps/cudf-src/cpp/include/cudf/types.hpp:42,

[2024-06-10T07:58:38.312Z] [INFO]      [exec]                  from /home/jenkins/agent/workspace/jenkins-examples-udf-examples-native-147/examples/UDF-Examples/RAPIDS-accelerated-UDFs/target/cpp-build/_deps/cudf-src/cpp/include/cudf/column/column_view.hpp:18,

[2024-06-10T07:58:38.312Z] [INFO]      [exec]                  from /home/jenkins/agent/workspace/jenkins-examples-udf-examples-native-147/examples/UDF-Examples/RAPIDS-accelerated-UDFs/target/cpp-build/_deps/cudf-src/cpp/include/cudf/column/column.hpp:18,

[2024-06-10T07:58:38.312Z] [INFO]      [exec]                  from /home/jenkins/agent/workspace/jenkins-examples-udf-examples-native-147/examples/UDF-Examples/RAPIDS-accelerated-UDFs/target/cpp-build/_deps/cudf-src/cpp/include/cudf/column/column_factories.hpp:18,

[2024-06-10T07:58:38.312Z] [INFO]      [exec]                  from /home/jenkins/agent/workspace/jenkins-examples-udf-examples-native-147/examples/UDF-Examples/RAPIDS-accelerated-UDFs/target/cpp-build/_deps/cudf-src/cpp/src/io/utilities/column_buffer.hpp:24,

[2024-06-10T07:58:38.312Z] [INFO]      [exec]                  from /home/jenkins/agent/workspace/jenkins-examples-udf-examples-native-147/examples/UDF-Examples/RAPIDS-accelerated-UDFs/target/cpp-build/_deps/cudf-src/cpp/src/io/utilities/column_buffer.cpp:22:

Steps/Code to reproduce bug Rerun the CI to reprodcue it.

Expected behavior The build should pass.

wjxiz1992 commented 5 months ago

@GaryShen2008 please help prioritize it.

jlowe commented 5 months ago

Fixed by #395.