MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / assertDeterministic

Method assertDeterministic

src/Interpreters/ActionsDAG.cpp:1986–1992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1984}
1985
1986void 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
1994bool ActionsDAG::hasNonDeterministic() const
1995{

Callers 2

checkKeyExpressionFunction · 0.45
validateMethod · 0.45

Calls 2

ExceptionClass · 0.70
isDeterministicMethod · 0.45

Tested by

no test coverage detected