diff --git a/be/src/olap/types.h b/be/src/olap/types.h index ebbee3e906c8ac..7458811618f0cc 100644 --- a/be/src/olap/types.h +++ b/be/src/olap/types.h @@ -1021,7 +1021,7 @@ struct FieldTypeTraits } static std::string to_string(const void* src) { - uint128_t value = *reinterpret_cast(src); + uint128_t value = unaligned_load(src); IPv6Value ipv6_value(value); return ipv6_value.to_string(); }