Merge pull request #20454 from ClickHouse/aggregation-common-non-significant-change

Non significant change in AggregationCommon
This commit is contained in:
alexey-milovidov 2021-02-13 19:36:33 +03:00 committed by GitHub
commit 024d8491d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,12 +77,8 @@ static inline T ALWAYS_INLINE packFixed(
const ColumnRawPtrs * low_cardinality_positions [[maybe_unused]] = nullptr,
const Sizes * low_cardinality_sizes [[maybe_unused]] = nullptr)
{
union
{
T key;
char bytes[sizeof(key)] = {};
};
T key{};
char * bytes = reinterpret_cast<char *>(&key);
size_t offset = 0;
for (size_t j = 0; j < keys_size; ++j)