mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +00:00
16 lines
462 B
C++
16 lines
462 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
static constexpr std::string_view CONDITION_PLACEHOLDER_TO_REPLACE_VALUE = "{condition}";
|
|
|
|
/** In case UPDATE_FIELD is specified in {condition} for dictionary that must load all data.
|
|
* Replace {condition} with true_condition for initial dictionary load.
|
|
* For next dictionary loads {condition} will be updated with UPDATE_FIELD.
|
|
*/
|
|
std::string removeWhereConditionPlaceholder(const std::string & query);
|
|
|
|
}
|