#include #include namespace DB { namespace { struct Impl { static constexpr auto name = "formatReadableSize"; static void format(double value, DB::WriteBuffer & out) { formatReadableSizeWithBinarySuffix(value, out); } }; } REGISTER_FUNCTION(FormatReadableSize) { factory.registerFunction>(); } }