Update MutationsInterpreter.cpp

This commit is contained in:
alexey-milovidov 2020-04-13 21:33:25 +03:00 committed by GitHub
parent 0aa4c85602
commit 45e85724a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,9 @@ public:
if (const auto * function = typeid_cast<const ASTFunction *>(node.get()))
{
/// Lambda functions also may be non-deterministic. But we skip them for simplicity.
/// Replication will work correctly even if non-deterministic function is used,
/// it will select any of the results and discard other.
if (function->name != "lambda")
{
const auto func = FunctionFactory::instance().get(function->name, data.context);