1#pragma once
2
3#include <Poco/Util/XMLConfiguration.h>
4#include <Core/Types.h>
5#include <vector>
6#include <string>
7#include <map>
8
9namespace DB
10{
11
12using StringToVector = std::map<std::string, Strings>;
13using ConfigurationPtr = Poco::AutoPtr<Poco::Util::AbstractConfiguration>;
14
15void constructSubstitutions(ConfigurationPtr & substitutions_view, StringToVector & out_substitutions);
16
17Strings formatQueries(const std::string & query, StringToVector substitutions_to_generate);
18
19}
20