blob: 3e4d0d148585abe63d22e2b79fe1e04d04dc4479 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "mkql_null.h"
#include <yql/essentials/minikql/computation/mkql_computation_node_holders.h>
#include <yql/essentials/minikql/computation/mkql_computation_node_holders_codegen.h>
#include <yql/essentials/minikql/mkql_node_cast.h>
namespace NKikimr {
namespace NMiniKQL {
IComputationNode* WrapNull(TCallable& callable, const TComputationNodeFactoryContext& ctx) {
MKQL_ENSURE(callable.GetInputsCount() == 0, "Expected 0 arg");
return ctx.NodeFactory.CreateImmutableNode(NUdf::TUnboxedValuePod());
}
}
}
|