mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 22:22:00 +00:00
Style fix
This commit is contained in:
parent
300ec160f4
commit
60a5b94ba4
@ -20,10 +20,12 @@ struct ConstraintsDescription
|
||||
|
||||
static ConstraintsDescription parse(const String & str);
|
||||
|
||||
ConstraintsExpressions getExpressions(const Context & context, const NamesAndTypesList & source_columns_) const {
|
||||
ConstraintsExpressions getExpressions(const Context & context, const NamesAndTypesList & source_columns_) const
|
||||
{
|
||||
ConstraintsExpressions res;
|
||||
res.reserve(constraints.size());
|
||||
for (const auto & constraint : constraints) {
|
||||
for (const auto & constraint : constraints)
|
||||
{
|
||||
ASTPtr expr = constraint->expr->clone();
|
||||
auto syntax_result = SyntaxAnalyzer(context).analyze(expr, source_columns_);
|
||||
res.push_back(ExpressionAnalyzer(constraint->expr->clone(), syntax_result, context).getActions(false));
|
||||
|
Loading…
Reference in New Issue
Block a user