| 1984 | } |
| 1985 | |
| 1986 | void ActionsDAG::assertDeterministic() const |
| 1987 | { |
| 1988 | for (const auto & node : nodes) |
| 1989 | if (!node.isDeterministic()) |
| 1990 | throw Exception(ErrorCodes::BAD_ARGUMENTS, |
| 1991 | "Expression must be deterministic but it contains non-deterministic part `{}`", node.result_name); |
| 1992 | } |
| 1993 | |
| 1994 | bool ActionsDAG::hasNonDeterministic() const |
| 1995 | { |
no test coverage detected