aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/minikql/comp_nodes/mkql_nop.cpp
blob: 01753b605751c36093e99061d0835b0459faca77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "mkql_nop.h"

#include <yql/essentials/minikql/computation/mkql_computation_node_impl.h>

namespace NKikimr {
namespace NMiniKQL {

IComputationNode* WrapNop(TCallable& callable, const TComputationNodeFactoryContext& ctx) {
    MKQL_ENSURE(callable.GetInputsCount() == 1, "Expected 1 arg");
    return LocateNode(ctx.NodeLocator, callable, 0);
}

}
}