#include #include namespace DB { void registerFunctionsHashing(FunctionFactory & factory) { factory.registerFunction(); factory.registerFunction(); factory.registerFunction(); factory.registerFunction(); factory.registerFunction(); factory.registerFunction(); factory.registerFunction(); factory.registerFunction(); factory.registerFunction(); factory.registerFunction(); factory.registerFunction(); factory.registerFunction(); factory.registerFunction(); } template <> UInt64 toInteger(Float32 x) { UInt32 res; memcpy(&res, &x, sizeof(x)); return res; } template <> UInt64 toInteger(Float64 x) { UInt64 res; memcpy(&res, &x, sizeof(x)); return res; } }