Fix compilation error

This commit is contained in:
Andrey Chulkov 2020-03-22 15:13:53 +03:00
parent 06d05f3160
commit f01483380c
3 changed files with 2 additions and 17 deletions

View File

@ -1,12 +1,8 @@
#include "PolygonDictionaryUtils.h"
#include "DictionaryBlockInputStream.h"
#include "DictionaryFactory.h"
#include <Common/ThreadPool.h>
#include <Columns/ColumnArray.h>
#include <Columns/ColumnTuple.h>
#include <DataTypes/DataTypeArray.h>
#include <common/logger_useful.h>
#include <algorithm>
#include <thread>

View File

@ -1,16 +1,5 @@
#pragma once
#include <atomic>
#include <variant>
#include <Core/Block.h>
#include <Columns/ColumnDecimal.h>
#include <Columns/ColumnString.h>
#include <Common/Arena.h>
#include "DictionaryStructure.h"
#include "IDictionary.h"
#include "IDictionarySource.h"
#include <Core/Types.h>
#include <Poco/Logger.h>

View File

@ -137,7 +137,7 @@ private:
!executeDispatchComplex<ComplexKeyCacheDictionary>(block, arguments, result, dict_ptr) &&
!executeDispatchComplex<TrieDictionary>(block, arguments, result, dict_ptr) &&
!executeDispatchComplex<SimplePolygonDictionary>(block, arguments, result, dict_ptr) &&
!executeDispatchComplex<GridPolygonDictionary>(block, arguments, result, dict_ptr)) &&
!executeDispatchComplex<GridPolygonDictionary>(block, arguments, result, dict_ptr) &&
!executeDispatchComplex<SmartPolygonDictionary>(block, arguments, result, dict_ptr))
throw Exception{"Unsupported dictionary type " + dict_ptr->getTypeName(), ErrorCodes::UNKNOWN_TYPE};
}