| 965 | |
| 966 | template <> |
| 967 | inline void TypedStatisticsImpl<FLBAType>::Copy(const FLBA& src, FLBA* dst, |
| 968 | ResizableBuffer* buffer) { |
| 969 | if (dst->ptr == src.ptr) return; |
| 970 | uint32_t len = descr_->type_length(); |
| 971 | PARQUET_THROW_NOT_OK(buffer->Resize(len, false)); |
| 972 | std::memcpy(buffer->mutable_data(), src.ptr, len); |
| 973 | *dst = FLBA(buffer->data()); |
| 974 | } |
| 975 | |
| 976 | template <> |
| 977 | inline void TypedStatisticsImpl<ByteArrayType>::Copy(const ByteArray& src, ByteArray* dst, |
no test coverage detected