fixed unique

This commit is contained in:
Nikita Vasilev 2019-02-06 14:08:04 +03:00
parent 84261a2072
commit a618c7f334
2 changed files with 10 additions and 2 deletions

View File

@ -55,8 +55,15 @@ std::unique_ptr<IMergeTreeIndex> MergeTreeIndexFactory::get(
}
MergeTreeIndexFactory::Creator minmaxIndexCreator;
MergeTreeIndexFactory::Creator uniqueIndexCreator;
std::unique_ptr<IMergeTreeIndex> minmaxIndexCreator(
const NamesAndTypesList & columns,
std::shared_ptr<ASTIndexDeclaration> node,
const Context & context);
std::unique_ptr<IMergeTreeIndex> uniqueIndexCreator(
const NamesAndTypesList & columns,
std::shared_ptr<ASTIndexDeclaration> node,
const Context & context);
MergeTreeIndexFactory::MergeTreeIndexFactory()
{

View File

@ -8,6 +8,7 @@
#include <Parsers/ASTFunction.h>
#include <Parsers/ASTLiteral.h>
namespace DB
{