@@ -30,13 +30,15 @@ template <>
3030struct CopyDataUtils <BooleanType> {
3131 static void CopyData (const DataType&, const Scalar& in, const int64_t in_offset,
3232 uint8_t * out, const int64_t out_offset, const int64_t length) {
33+ ARROW_LOG (INFO) << " Boolean CopyData from Scalar to offset " << out_offset << " with length " << length;
3334 bit_util::SetBitsTo (
3435 out, out_offset, length,
3536 in.is_valid ? checked_cast<const BooleanScalar&>(in).value : false );
3637 }
3738
3839 static void CopyData (const DataType&, const uint8_t * in, const int64_t in_offset,
3940 uint8_t * out, const int64_t out_offset, const int64_t length) {
41+ ARROW_LOG (INFO) << " Boolean CopyData from Array at offset " << in_offset << " to offset " << out_offset << " with length " << length;
4042 arrow::internal::CopyBitmap (in, in_offset, length, out, out_offset);
4143 }
4244
@@ -91,11 +93,13 @@ struct CopyDataUtils<
9193 uint8_t * out, const int64_t out_offset, const int64_t length) {
9294 CType* begin = reinterpret_cast <CType*>(out) + out_offset;
9395 CType* end = begin + length;
96+ ARROW_LOG (INFO) << " CopyData from Scalar to offset " << out_offset << " with length " << length;
9497 std::fill (begin, end, UnboxScalar<Type>::Unbox (in));
9598 }
9699
97100 static void CopyData (const DataType&, const uint8_t * in, const int64_t in_offset,
98101 uint8_t * out, const int64_t out_offset, const int64_t length) {
102+ ARROW_LOG (INFO) << " CopyData from Array at offset " << in_offset << " to offset " << out_offset << " with length " << length;
99103 std::memcpy (out + out_offset * sizeof (CType), in + in_offset * sizeof (CType),
100104 length * sizeof (CType));
101105 }
0 commit comments