mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 12:01:58 +00:00
Fixed exception text
This commit is contained in:
parent
b8385aae8c
commit
375e464086
@ -13,7 +13,7 @@ void CheckConstraintsBlockOutputStream::write(const Block & block)
|
|||||||
{
|
{
|
||||||
auto constraint_expr = expressions[i];
|
auto constraint_expr = expressions[i];
|
||||||
if (!checkConstraintOnBlock(block, constraint_expr))
|
if (!checkConstraintOnBlock(block, constraint_expr))
|
||||||
throw Exception{"Constraint " + constraints.constraints[i]->name + " is not satisfied at, constraint expression: " +
|
throw Exception{"Constraint " + constraints.constraints[i]->name + " is not satisfied, constraint expression: " +
|
||||||
serializeAST(*(constraints.constraints[i]->expr), true), ErrorCodes::LOGICAL_ERROR};
|
serializeAST(*(constraints.constraints[i]->expr), true), ErrorCodes::LOGICAL_ERROR};
|
||||||
}
|
}
|
||||||
output->write(block);
|
output->write(block);
|
||||||
|
Loading…
Reference in New Issue
Block a user