mkql_nop.cpp 360 B

1234567891011121314
  1. #include "mkql_nop.h"
  2. #include <yql/essentials/minikql/computation/mkql_computation_node_impl.h>
  3. namespace NKikimr {
  4. namespace NMiniKQL {
  5. IComputationNode* WrapNop(TCallable& callable, const TComputationNodeFactoryContext& ctx) {
  6. MKQL_ENSURE(callable.GetInputsCount() == 1, "Expected 1 arg");
  7. return LocateNode(ctx.NodeLocator, callable, 0);
  8. }
  9. }
  10. }