Fix fasttest

This commit is contained in:
Alexey Milovidov 2023-07-23 17:59:49 +02:00
parent 4c1f8f38cd
commit 8902bbdb60
4 changed files with 12 additions and 4 deletions

View File

@ -1,5 +1,7 @@
#include <Common/FrequencyHolder.h>
#if USE_NLP
#include <incbin.h>
/// Embedded SQL definitions
@ -179,3 +181,5 @@ void FrequencyHolder::loadProgrammingFrequency()
}
}
#endif

View File

@ -1,5 +1,9 @@
#pragma once
#include "config.h"
#if USE_NLP
#include <base/StringRef.h>
#include <Common/logger_useful.h>
@ -81,3 +85,5 @@ private:
EncodingContainer encodings_freq;
};
}
#endif

View File

@ -3,7 +3,7 @@
#include <Functions/FunctionsTextClassification.h>
#include <memory>
#include <unordered_map>
namespace DB
{

View File

@ -5,19 +5,17 @@
#include <Columns/ColumnMap.h>
#include <Columns/ColumnArray.h>
#include <Columns/ColumnString.h>
#include <Columns/ColumnsNumber.h>
#include <Common/isValidUTF8.h>
#include <DataTypes/DataTypeMap.h>
#include <DataTypes/DataTypeString.h>
#include <DataTypes/DataTypeTuple.h>
#include <DataTypes/DataTypesNumber.h>
#include <Functions/FunctionHelpers.h>
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionsTextClassification.h>
#include <Interpreters/Context.h>
#include <compact_lang_det.h>
namespace DB
{
/* Determine language of Unicode UTF-8 text.