Fixed error in reading config with settings for GraphiteMergeTree table engine [#METR-23978].

This commit is contained in:
Alexey Milovidov 2016-12-30 01:06:31 +03:00
parent 8ff20e1ecc
commit 5dad134760

View File

@ -199,7 +199,14 @@ static void setGraphitePatternsFromConfig(const Context & context,
}
else if (key == "default")
{
/// Ниже.
/// See below.
}
else if (key == "path_column_name"
|| key == "time_column_name"
|| key == "value_column_name"
|| key == "version_column_name")
{
/// See above.
}
else
throw Exception("Unknown element in config: " + key, ErrorCodes::UNKNOWN_ELEMENT_IN_CONFIG);