mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 12:14:18 +00:00
Working commit
This commit is contained in:
parent
dcbc4332c1
commit
642835b580
@ -717,9 +717,9 @@ private:
|
||||
size_t size = vec_from.size();
|
||||
for (size_t i = 0; i < size; ++i)
|
||||
{
|
||||
String hex_string = toString(UUID(vec_from[i]));
|
||||
std::cerr << hex_string << std::endl;
|
||||
const ToType h = Impl::apply(reinterpret_cast<const char *>(&hex_string), 16);
|
||||
String hash_string = toString<UUID>(UUID(vec_from[i]));
|
||||
std::cerr << hash_string << std::endl;
|
||||
const ToType h = Impl::apply(reinterpret_cast<const char *>(&hash_string), 16);
|
||||
if (first)
|
||||
vec_to[i] = h;
|
||||
else
|
||||
@ -741,9 +741,9 @@ private:
|
||||
size_t size = vec_from.size();
|
||||
for (size_t i = 0; i < size; ++i)
|
||||
{
|
||||
String hex_string = toString(vec_from[i]);
|
||||
std::cerr << "\n\n" << hex_string << "\n\n";
|
||||
const ToType h = Impl::apply(reinterpret_cast<const char *>(&hex_string), hex_string.size());
|
||||
String hash_string = toString<Decimal128>(vec_from[i]);
|
||||
std::cerr << "\n\n" << hash_string << "\n\n";
|
||||
const ToType h = Impl::apply(reinterpret_cast<const char *>(&hash_string), hash_string.size());
|
||||
if (first)
|
||||
vec_to[i] = h;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user