mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
fix style
This commit is contained in:
parent
a51067e7ff
commit
faac204a1f
@ -5,7 +5,10 @@
|
||||
|
||||
namespace DB
|
||||
{
|
||||
|
||||
namespace ErrorCodes
|
||||
{
|
||||
extern const int ILLEGAL_TYPE_OF_ARGUMENT;
|
||||
}
|
||||
|
||||
/** Calculates the length of a string in bytes.
|
||||
*/
|
||||
@ -36,7 +39,7 @@ struct LengthImpl
|
||||
res[i] = offsets[i] - offsets[i - 1];
|
||||
}
|
||||
|
||||
[[noreturn]] static void uuid(const ColumnUUID ::Container & , size_t &, PaddedPODArray<UInt64> & )
|
||||
[[noreturn]] static void uuid(const ColumnUUID::Container &, size_t &, PaddedPODArray<UInt64> &)
|
||||
{
|
||||
throw Exception("Cannot apply function length to UUID argument", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ struct LengthUTF8Impl
|
||||
throw Exception("Cannot apply function lengthUTF8 to Array argument", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
|
||||
}
|
||||
|
||||
[[noreturn]] static void uuid(const ColumnUUID ::Container &, size_t &, PaddedPODArray<UInt64> &)
|
||||
[[noreturn]] static void uuid(const ColumnUUID::Container &, size_t &, PaddedPODArray<UInt64> &)
|
||||
{
|
||||
throw Exception("Cannot apply function lengthUTF8 to UUID argument", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user