nirandaperera commented on pull request #10410:
URL: https://github.com/apache/arrow/pull/10410#issuecomment-853835525
> It looks like there's an actual build failure on CentOS/GCC4.8 (expand
"Dump install logs" to get the actual failure):
>
> ```
> In file included from
/tmp/Rtmpmpy1Y5/file7d77bb9a74/src/arrow/CMakeFiles/arrow_objlib.dir/Unity/unity_17_cxx.cxx:4:0:
> /arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc: In function
‘arrow::Status
arrow::compute::{anonymous}::PromoteNullsVisitor(arrow::compute::KernelContext*,
const arrow::Datum&, const arrow::Datum&, const arrow::Datum&,
arrow::ArrayData*)’:
> /arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:121:8: error: no
matching function for call to
‘arrow::internal::Bitmap::VisitWords(<brace-enclosed initializer list>,
arrow::compute::{anonymous}::PromoteNullsVisitor(arrow::compute::KernelContext*,
const arrow::Datum&, const arrow::Datum&, const arrow::Datum&,
arrow::ArrayData*)::__lambda44)’
> });
> ^
> /arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:121:8: note:
candidate is:
> In file included from
/arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:22:0,
> from
/tmp/Rtmpmpy1Y5/file7d77bb9a74/src/arrow/CMakeFiles/arrow_objlib.dir/Unity/unity_17_cxx.cxx:4:
> /arrow/cpp/src/arrow/util/bitmap.h:128:18: note: template<long unsigned
int N, class Visitor, class Word> static int64_t
arrow::internal::Bitmap::VisitWords(const arrow::internal::Bitmap (&)[N],
Visitor&&)
> static int64_t VisitWords(const Bitmap (&bitmaps_arg)[N], Visitor&&
visitor) {
> ^
> /arrow/cpp/src/arrow/util/bitmap.h:128:18: note: template argument
deduction/substitution failed:
> In file included from
/tmp/Rtmpmpy1Y5/file7d77bb9a74/src/arrow/CMakeFiles/arrow_objlib.dir/Unity/unity_17_cxx.cxx:4:0:
> /arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:121:8: note:
couldn't deduce template parameter ‘N’
> });
> ^
> /arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:127:12: error: no
matching function for call to
‘arrow::internal::Bitmap::VisitWords(<brace-enclosed initializer list>,
arrow::compute::{anonymous}::PromoteNullsVisitor(arrow::compute::KernelContext*,
const arrow::Datum&, const arrow::Datum&, const arrow::Datum&,
arrow::ArrayData*)::__lambda45)’
> });
> ^
> /arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:127:12: note:
candidate is:
> In file included from
/arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:22:0,
> from
/tmp/Rtmpmpy1Y5/file7d77bb9a74/src/arrow/CMakeFiles/arrow_objlib.dir/Unity/unity_17_cxx.cxx:4:
> /arrow/cpp/src/arrow/util/bitmap.h:128:18: note: template<long unsigned
int N, class Visitor, class Word> static int64_t
arrow::internal::Bitmap::VisitWords(const arrow::internal::Bitmap (&)[N],
Visitor&&)
> static int64_t VisitWords(const Bitmap (&bitmaps_arg)[N], Visitor&&
visitor) {
> ^
> /arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:157:12: note:
candidate is:
> In file included from
/arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:22:0,
> from
/tmp/Rtmpmpy1Y5/file7d77bb9a74/src/arrow/CMakeFiles/arrow_objlib.dir/Unity/unity_17_cxx.cxx:4:
> /arrow/cpp/src/arrow/util/bitmap.h:128:18: note: template<long unsigned
int N, class Visitor, class Word> static int64_t
arrow::internal::Bitmap::VisitWords(const arrow::internal::Bitmap (&)[N],
Visitor&&)
> static int64_t VisitWords(const Bitmap (&bitmaps_arg)[N], Visitor&&
visitor) {
> ^
> /arrow/cpp/src/arrow/util/bitmap.h:128:18: note: template argument
deduction/substitution failed:
> In file included from
/tmp/Rtmpmpy1Y5/file7d77bb9a74/src/arrow/CMakeFiles/arrow_objlib.dir/Unity/unity_17_cxx.cxx:4:0:
> /arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:157:12: note:
couldn't deduce template parameter ‘N’
> });
> ^
> /arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:164:12: error: no
matching function for call to
‘arrow::internal::Bitmap::VisitWords(<brace-enclosed initializer list>,
arrow::compute::{anonymous}::PromoteNullsVisitor(arrow::compute::KernelContext*,
const arrow::Datum&, const arrow::Datum&, const arrow::Datum&,
arrow::ArrayData*)::__lambda50)’
> });
> ^
> /arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:164:12: note:
candidate is:
> In file included from
/arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:22:0,
> from
/tmp/Rtmpmpy1Y5/file7d77bb9a74/src/arrow/CMakeFiles/arrow_objlib.dir/Unity/unity_17_cxx.cxx:4:
> /arrow/cpp/src/arrow/util/bitmap.h:128:18: note: template<long unsigned
int N, class Visitor, class Word> static int64_t
arrow::internal::Bitmap::VisitWords(const arrow::internal::Bitmap (&)[N],
Visitor&&)
> static int64_t VisitWords(const Bitmap (&bitmaps_arg)[N], Visitor&&
visitor) {
> ^
> /arrow/cpp/src/arrow/util/bitmap.h:128:18: note: template argument
deduction/substitution failed:
> In file included from
/tmp/Rtmpmpy1Y5/file7d77bb9a74/src/arrow/CMakeFiles/arrow_objlib.dir/Unity/unity_17_cxx.cxx:4:0:
> /arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:164:12: note:
couldn't deduce template parameter ‘N’
> });
> ^
> /arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:171:27: error: no
matching function for call to
‘arrow::internal::Bitmap::VisitWords(<brace-enclosed initializer list>,
arrow::compute::{anonymous}::PromoteNullsVisitor(arrow::compute::KernelContext*,
const arrow::Datum&, const arrow::Datum&, const arrow::Datum&,
arrow::ArrayData*)::__lambda51)’
> });
> ^
> /arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:171:27: note:
candidate is:
> In file included from
/arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:22:0,
> from
/tmp/Rtmpmpy1Y5/file7d77bb9a74/src/arrow/CMakeFiles/arrow_objlib.dir/Unity/unity_17_cxx.cxx:4:
> /arrow/cpp/src/arrow/util/bitmap.h:128:18: note: template<long unsigned
int N, class Visitor, class Word> static int64_t
arrow::internal::Bitmap::VisitWords(const arrow::internal::Bitmap (&)[N],
Visitor&&)
> static int64_t VisitWords(const Bitmap (&bitmaps_arg)[N], Visitor&&
visitor) {
> ^
> /arrow/cpp/src/arrow/util/bitmap.h:128:18: note: template argument
deduction/substitution failed:
> In file included from
/tmp/Rtmpmpy1Y5/file7d77bb9a74/src/arrow/CMakeFiles/arrow_objlib.dir/Unity/unity_17_cxx.cxx:4:0:
> /arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc:171:27: note:
couldn't deduce template parameter ‘N’
> });
> ```
Ah! thanks @lidavidm I missed this... it seems to be a gcc 4.x thing, isn't
it.
BTW @bkietz should I add string type support to this as well, or can I leave
it for later development?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]