mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
16 lines
503 B
C++
16 lines
503 B
C++
#pragma once
|
|
|
|
#include <Poco/Util/AbstractConfiguration.h>
|
|
#include <Parsers/ASTCreateQuery.h>
|
|
|
|
namespace DB
|
|
{
|
|
using DictionaryConfigurationPtr = Poco::AutoPtr<Poco::Util::AbstractConfiguration>;
|
|
|
|
/// Convert dictionary AST to Poco::AbstractConfiguration
|
|
/// This function is necessary because all loadable objects configuration are Poco::AbstractConfiguration
|
|
/// Can throw exception if query is ill-formed
|
|
DictionaryConfigurationPtr getDictionaryConfigurationFromAST(const ASTCreateQuery & query);
|
|
|
|
}
|