Fixed style check

This commit is contained in:
Maksim Kita 2022-03-16 16:16:08 +00:00
parent ed74a464bd
commit dc31a4175f
2 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,8 @@ public:
private:
FrequencyHolder() {
FrequencyHolder()
{
loadEmotionalDict();
loadEncodingsFrequency();
loadProgrammingFrequency();

View File

@ -33,9 +33,8 @@ namespace ErrorCodes
std::pair<Field, std::shared_ptr<const IDataType>> evaluateConstantExpression(const ASTPtr & node, ContextPtr context)
{
if (ASTLiteral * literal = node->as<ASTLiteral>()) {
if (ASTLiteral * literal = node->as<ASTLiteral>())
return std::make_pair(literal->value, applyVisitor(FieldToDataType(), literal->value));
}
NamesAndTypesList source_columns = {{ "_dummy", std::make_shared<DataTypeUInt8>() }};
auto ast = node->clone();