aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/minikql/comp_nodes/mkql_check_args.h
blob: 3d7c5f84c68327fb70e13dad10197323be83596c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
#include <yql/essentials/minikql/mkql_node.h>

namespace NKikimr {
namespace NMiniKQL {

struct TBinaryFunctionArgsDesc {
    NUdf::TDataTypeId SchemeType;
    bool IsLeftOptional;
    bool IsRightOptional;
};

TBinaryFunctionArgsDesc CheckBinaryFunctionArgs(TType* left, TType* right,
    bool allowOptionalInput, bool requiresBooleanArgs);

}
}