aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/core/dq_expr_nodes/dq_expr_nodes.json
blob: e9efb8c2042396e122cb6c476fa26092dafe2b4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
{
    "NodeRootType": "TExprBase",
    "NodeBuilderBase": "TNodeBuilderBase",
    "ListBuilderBase": "TListBuilderBase",
    "FreeArgCallableBase": "TFreeArgCallable",
    "FreeArgBuilderBase": "TFreeArgCallableBuilderBase",
    "Nodes": [
    {
        "Name": "TDqJoinKeyTuple",
        "Base": "TExprBase",
        "Match": {"Type": "Tuple"},
        "Children": [
            {"Index": 0, "Name": "LeftLabel", "Type": "TCoAtom"},
            {"Index": 1, "Name": "LeftColumn", "Type": "TCoAtom"},
            {"Index": 2, "Name": "RightLabel", "Type": "TCoAtom"},
            {"Index": 3, "Name": "RightColumn", "Type": "TCoAtom"}
        ]
    },
    {
        "Name": "TDqJoinKeyTupleList",
        "ListBase": "TDqJoinKeyTuple"
    },
    {
        "Name": "TDqJoinBase",
        "Base": "TCallable",
        "Match": {"Type": "CallableBase"},
        "Builder": {"Generate": "None"},
        "Children": [
            {"Index": 0, "Name": "LeftInput", "Type": "TExprBase"},
            {"Index": 2, "Name": "LeftLabel", "Type": "TExprBase",
                "NB": "Atom - if left is real table, Void - otherwise"},
            {"Index": 1, "Name": "RightInput", "Type": "TExprBase"},
            {"Index": 3, "Name": "RightLabel", "Type": "TExprBase",
                "NB": "Atom - if right is real table, Void - otherwise"},
            {"Index": 4, "Name": "JoinType", "Type": "TCoAtom"},
            {"Index": 5, "Name": "JoinKeys", "Type": "TDqJoinKeyTupleList"},
            {"Index": 6, "Name": "LeftJoinKeyNames", "Type": "TCoAtomList"},
            {"Index": 7, "Name": "RightJoinKeyNames", "Type": "TCoAtomList"}
        ]
    },
    {
        "Name": "TDqJoin",
        "Base": "TDqJoinBase",
        "Match": {"Type": "Callable", "Name": "DqJoin"},
        "Children": [
            {"Index": 8, "Name": "JoinAlgo", "Type": "TCoAtom"},
            {"Index": 9, "Name": "Flags", "Type": "TCoAtomList", "Optional": true}
        ]
    },
    {
        "Name": "TDqPhyGraceJoin",
        "Base": "TDqJoinBase",
        "Match": {"Type": "Callable", "Name": "DqPhyGraceJoin"},
        "Children": [
            {"Index": 8, "Name": "Flags", "Type": "TCoAtomList", "Optional": true}
        ]
    },
    {
        "Name": "TDqPhyMapJoin",
        "Base": "TDqJoinBase",
        "Match": {"Type": "Callable", "Name": "DqPhyMapJoin"}
    },
    {
        "Name": "TDqPhyCrossJoin",
        "Base": "TDqJoinBase",
        "Match": {"Type": "Callable", "Name": "DqPhyCrossJoin"}
    },
    {
        "Name": "TDqPhyJoinDict",
        "Base": "TDqJoinBase",
        "Match": {"Type": "Callable", "Name": "DqPhyJoinDict"}
    },
    {
        "Name": "TDqSource",
        "Base": "TCallable",
        "Match": {"Type": "Callable", "Name": "DqSource"},
        "Children": [
            {"Index": 0, "Name": "DataSource", "Type": "TCallable"},
            {"Index": 1, "Name": "Settings", "Type": "TExprBase"}
        ]
    },
    {
        "Name": "TDqOutputAnnotationBase",
        "Base": "TCallable",
        "Definition": "Custom",
        "Builder": {"Generate": "None"},
        "Children": [
            {"Index": 0, "Name": "Index", "Type": "TCoAtom"},
            {"Index": 1, "Name": "DataSink", "Type": "TCallable"}
        ]
    },
    {
        "Name": "TDqTransform",
        "Base": "TDqOutputAnnotationBase",
        "Match": {"Type": "Callable", "Name": "DqTransform"},
        "Children": [
            {"Index": 2, "Name": "Type", "Type": "TCoAtom"},
            {"Index": 3, "Name": "InputType", "Type": "TExprBase"},
            {"Index": 4, "Name": "OutputType", "Type": "TExprBase"},
            {"Index": 5, "Name": "Settings", "Type": "TCallable"}
        ]
    },
    {
        "Name": "TDqSink",
        "Base": "TDqOutputAnnotationBase",
        "Match": {"Type": "Callable", "Name": "DqSink"},
        "Children": [
            {"Index": 2, "Name": "Settings", "Type": "TCallable"}
        ]
    },
    {
        "Name": "TDqStageOutputsList",
        "ListBase": "TDqOutputAnnotationBase"
    },
    {
        "Name": "TDqStageBase",
        "Base": "TCallable",
        "Match": {"Type": "CallableBase"},
        "Builder": {"Generate": "None"},
        "Children": [
            {"Index": 0, "Name": "Inputs", "Type": "TExprList"},
            {"Index": 1, "Name": "Program", "Type": "TCoLambda"},
            {"Index": 2, "Name": "Settings", "Type": "TCoNameValueTupleList"},
            {"Index": 3, "Name": "Outputs", "Type": "TDqStageOutputsList", "Optional": true}
        ]
    },
    {
        "Name": "TDqStage",
        "Base": "TDqStageBase",
        "Match": {"Type": "Callable", "Name": "DqStage"}
    },
    {
        "Name": "TDqPhyStage",
        "Base": "TDqStageBase",
        "Match": {"Type": "Callable", "Name": "DqPhyStage"}
    },
    {
        "Name": "TDqStageList",
        "ListBase": "TDqStageBase"
    },
    {
        "Name": "TDqPhyStageList",
        "ListBase": "TDqPhyStage"
    },
    {
        "Name": "TDqOutput",
        "Base": "TCallable",
        "Match": {"Type": "Callable", "Name": "TDqOutput"},
        "Children": [
            {"Index": 0, "Name": "Stage", "Type": "TDqStageBase"},
            {"Index": 1, "Name": "Index", "Type": "TCoAtom"}
        ]
    },
    {
        "Name": "TDqConnection",
        "Base": "TCallable",
        "Definition": "Custom",
        "Builder": {"Generate": "None"},
        "Children": [
            {"Index": 0, "Name": "Output", "Type": "TDqOutput"}
        ]
    },
    {
        "Name": "TDqCnHashShuffle",
        "Base": "TDqConnection",
        "Match": {"Type": "Callable", "Name": "DqCnHashShuffle"},
        "Children": [
            {"Index": 1, "Name": "KeyColumns", "Type": "TCoAtomList"}
        ]
    },
    {
        "Name": "TDqCnBroadcast",
        "Base": "TDqConnection",
        "Match": {"Type": "Callable", "Name": "DqCnBroadcast"}
    },
    {
        "Name": "TDqCnUnionAll",
        "Base": "TDqConnection",
        "Match": {"Type": "Callable", "Name": "DqCnUnionAll"}
    },
    {
        "Name": "TDqCnMap",
        "Base": "TDqConnection",
        "Match": {"Type": "Callable", "Name": "DqCnMap"}
    },
    {
        "Name": "TDqCnStreamLookup",
        "Base": "TDqConnection",
        "Match": {"Type": "Callable", "Name": "DqCnStreamLookup"},
        "Children": [
            {"Index": 1, "Name": "LeftLabel", "Type": "TCoAtom"},
            {"Index": 2, "Name": "RightInput", "Type": "TExprBase"},
            {"Index": 3, "Name": "RightLabel", "Type": "TCoAtom"},
            {"Index": 4, "Name": "JoinType", "Type": "TCoAtom"},
            {"Index": 5, "Name": "JoinKeys", "Type": "TDqJoinKeyTupleList"},
            {"Index": 6, "Name": "LeftJoinKeyNames", "Type": "TCoAtomList"},
            {"Index": 7, "Name": "RightJoinKeyNames", "Type": "TCoAtomList"},
            {"Index": 8, "Name": "TTL", "Type": "TCoAtom"},
            {"Index": 9, "Name": "MaxDelayedRows", "Type": "TCoAtom"},
            {"Index": 10, "Name": "MaxCachedRows", "Type": "TCoAtom"}
        ]
    },
    {
        "Name": "TDqCnResult",
        "Base": "TDqConnection",
        "Match": {"Type": "Callable", "Name": "DqCnResult"},
        "Children": [
            {"Index": 1, "Name": "ColumnHints", "Type": "TCoAtomList"}
        ]
    },
    {
        "Name": "TDqCnValue",
        "Base": "TDqConnection",
        "Match": {"Type": "Callable", "Name": "DqCnValue"}
    },
    {
        "Name": "TDqSortColumn",
        "Base": "TExprBase",
        "Match": {"Type": "Tuple"},
        "Children": [
            {"Index": 0, "Name": "Column", "Type": "TCoAtom"},
            {"Index": 1, "Name": "SortDirection", "Type": "TCoAtom"}
        ]
    },
    {
        "Name": "TDqSortColumnList",
        "ListBase": "TDqSortColumn"
    },
    {
        "Name": "TDqCnMerge",
        "Base": "TDqConnection",
        "Match": {"Type": "Callable", "Name": "DqCnMerge"},
        "Children": [
            {"Index": 1, "Name": "SortColumns", "Type": "TDqSortColumnList"}
        ]
    },
    {
        "Name": "TDqReplicate",
        "Base": "TFreeArgCallable",
        "Match": {"Type": "Callable", "Name": "DqReplicate"},
        "Children": [
            {"Index": 0, "Name": "Input", "Type": "TExprBase"}
        ]
    },
    {
        "Name": "TDqQuery",
        "Base": "TCallable",
        "Match": {"Type": "Callable", "Name": "DqQuery!"},
        "Children": [
            {"Index": 0, "Name": "World", "Type": "TExprBase"},
            {"Index": 1, "Name": "SinkStages", "Type": "TDqStageList"}
        ]
    },
    {
        "Name": "TDqPrecompute",
        "Base": "TCallable",
        "Match": {"Type": "Callable", "Name": "DqPrecompute"},
        "Children": [
            {"Index": 0, "Name": "Input", "Type": "TExprBase"}
        ]
    },
    {
        "Name": "TDqPhyPrecompute",
        "Base": "TCallable",
        "Match": {"Type": "Callable", "Name": "DqPhyPrecompute"},
        "Children": [
            {"Index": 0, "Name": "Connection", "Type": "TDqConnection"}
        ]
    },
    {
        "Name": "TDqSqlExternalFunction",
        "Base": "TCallable",
        "Match": {"Type": "Callable", "Name": "SqlExternalFunction"},
        "Children": [
            {"Index": 0, "Name": "TransformType", "Type": "TExprBase"},
            {"Index": 1, "Name": "TransformName", "Type": "TExprBase"},
            {"Index": 2, "Name": "Settings", "Type": "TCoNameValueTupleList"}
        ]
    },
    {
        "Name": "TDqPhyLength",
        "Base": "TCallable",
        "Match": {"Type": "Callable", "Name": "DqPhyLength"},
        "Children": [
            {"Index": 0, "Name": "Input", "Type": "TExprBase"},
            {"Index": 1, "Name": "Name", "Type": "TCoAtom"}
        ]
    },
    {
      "Name": "TDqReadWrapBase",
      "Base": "TExprBase",
      "Match": {"Type": "CallableBase"},
      "Builder": {"Generate": "None"},
      "Children": [
        {"Index": 0, "Name": "Input", "Type": "TExprBase"},
        {"Index": 1, "Name": "Flags", "Type": "TCoAtomList"},
        {"Index": 2, "Name": "Token", "Type": "TCoSecureParam", "Optional": true}
      ]
    },
    {
      "Name": "TDqReadWrap",
      "Base": "TDqReadWrapBase",
      "Match": {"Type": "Callable", "Name": "DqReadWrap"}
    },
    {
      "Name": "TDqReadWideWrap",
      "Base": "TDqReadWrapBase",
      "Match": {"Type": "Callable", "Name": "DqReadWideWrap"}
    },
    {
      "Name": "TDqReadBlockWideWrap",
      "Base": "TDqReadWrapBase",
      "Match": {"Type": "Callable", "Name": "DqReadBlockWideWrap"}
    }
    ]
}