mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
Fixed style check
This commit is contained in:
parent
45879472d3
commit
b5f51e0ca6
@ -13,8 +13,8 @@ namespace DB
|
||||
namespace ErrorCodes
|
||||
{
|
||||
extern const int TYPE_MISMATCH;
|
||||
extern const int BAD_ARGUMENTS;
|
||||
extern const int UNSUPPORTED_METHOD;
|
||||
extern const int BAD_ARGUMENTS;
|
||||
}
|
||||
|
||||
namespace
|
||||
|
@ -18,6 +18,11 @@
|
||||
namespace DB
|
||||
{
|
||||
|
||||
namespace ErrorCodes
|
||||
{
|
||||
extern const int BAD_ARGUMENTS;
|
||||
}
|
||||
|
||||
template <DictionaryKeyType dictionary_key_type>
|
||||
class DirectDictionary final : public IDictionary
|
||||
{
|
||||
@ -31,7 +36,8 @@ public:
|
||||
DictionarySourcePtr source_ptr_,
|
||||
BlockPtr saved_block_ = nullptr);
|
||||
|
||||
std::string getTypeName() const override {
|
||||
std::string getTypeName() const override
|
||||
{
|
||||
if constexpr (dictionary_key_type == DictionaryKeyType::simple)
|
||||
return "Direct";
|
||||
else
|
||||
|
@ -26,7 +26,6 @@ SRCS(
|
||||
CassandraDictionarySource.cpp
|
||||
CassandraHelpers.cpp
|
||||
ClickHouseDictionarySource.cpp
|
||||
ComplexKeyDirectDictionary.cpp
|
||||
ComplexKeyHashedDictionary.cpp
|
||||
DictionaryBlockInputStreamBase.cpp
|
||||
DictionaryFactory.cpp
|
||||
|
@ -92,4 +92,4 @@ SELECT * FROM 01754_dictionary_db.direct_dictionary_complex_key_complex_attribut
|
||||
DROP DICTIONARY 01754_dictionary_db.direct_dictionary_complex_key_complex_attributes;
|
||||
DROP TABLE 01754_dictionary_db.complex_key_complex_attributes_source_table;
|
||||
|
||||
DROP DATABASE 01754_dictionary_db;
|
||||
DROP DATABASE 01754_dictionary_db;
|
||||
|
Loading…
Reference in New Issue
Block a user