1
+ {
2
+ "flinkVersion" : " 1.19" ,
3
+ "nodes" : [ {
4
+ "id" : 6 ,
5
+ "type" : " stream-exec-table-source-scan_1" ,
6
+ "scanTableSource" : {
7
+ "table" : {
8
+ "identifier" : " `default_catalog`.`default_database`.`orders`" ,
9
+ "resolvedTable" : {
10
+ "schema" : {
11
+ "columns" : [ {
12
+ "name" : " order_id" ,
13
+ "dataType" : " BIGINT"
14
+ }, {
15
+ "name" : " customer_id" ,
16
+ "dataType" : " BIGINT"
17
+ }, {
18
+ "name" : " order_amount" ,
19
+ "dataType" : " DECIMAL(10, 2)"
20
+ }, {
21
+ "name" : " order_status" ,
22
+ "dataType" : " VARCHAR(2147483647)"
23
+ }, {
24
+ "name" : " order_time" ,
25
+ "dataType" : " TIMESTAMP(3)"
26
+ } ],
27
+ "watermarkSpecs" : [ ]
28
+ },
29
+ "partitionKeys" : [ ],
30
+ "options" : {
31
+ "connector" : " datagen" ,
32
+ "fields.customer_id.max" : " 1000" ,
33
+ "fields.customer_id.min" : " 1" ,
34
+ "fields.order_amount.max" : " 500.00" ,
35
+ "fields.order_amount.min" : " 10.00" ,
36
+ "fields.order_id.end" : " 10000" ,
37
+ "fields.order_id.kind" : " sequence" ,
38
+ "fields.order_id.start" : " 1" ,
39
+ "fields.order_status.length" : " 10" ,
40
+ "number-of-rows" : " 100"
41
+ }
42
+ }
43
+ }
44
+ },
45
+ "outputType" : " ROW<`order_id` BIGINT, `customer_id` BIGINT, `order_amount` DECIMAL(10, 2), `order_status` VARCHAR(2147483647), `order_time` TIMESTAMP(3)>" ,
46
+ "description" : " TableSourceScan(table=[[default_catalog, default_database, orders]], fields=[order_id, customer_id, order_amount, order_status, order_time])" ,
47
+ "inputProperties" : [ ]
48
+ }, {
49
+ "id" : 7 ,
50
+ "type" : " stream-exec-calc_1" ,
51
+ "projection" : [ {
52
+ "kind" : " INPUT_REF" ,
53
+ "inputIndex" : 0 ,
54
+ "type" : " BIGINT"
55
+ }, {
56
+ "kind" : " CALL" ,
57
+ "catalogName" : " `default_catalog`.`default_database`.`MYSCALARFUNCTION`" ,
58
+ "class" : " com.myudf.MyScalarFunction" ,
59
+ "operands" : [ {
60
+ "kind" : " INPUT_REF" ,
61
+ "inputIndex" : 1 ,
62
+ "type" : " BIGINT"
63
+ }, {
64
+ "kind" : " INPUT_REF" ,
65
+ "inputIndex" : 1 ,
66
+ "type" : " BIGINT"
67
+ } ],
68
+ "type" : " BIGINT"
69
+ }, {
70
+ "kind" : " INPUT_REF" ,
71
+ "inputIndex" : 2 ,
72
+ "type" : " DECIMAL(10, 2)"
73
+ }, {
74
+ "kind" : " INPUT_REF" ,
75
+ "inputIndex" : 3 ,
76
+ "type" : " VARCHAR(2147483647)"
77
+ }, {
78
+ "kind" : " INPUT_REF" ,
79
+ "inputIndex" : 4 ,
80
+ "type" : " TIMESTAMP(3)"
81
+ } ],
82
+ "condition" : null ,
83
+ "inputProperties" : [ {
84
+ "requiredDistribution" : {
85
+ "type" : " UNKNOWN"
86
+ },
87
+ "damBehavior" : " PIPELINED" ,
88
+ "priority" : 0
89
+ } ],
90
+ "outputType" : " ROW<`order_id` BIGINT, `EXPR$1` BIGINT, `order_amount` DECIMAL(10, 2), `order_status` VARCHAR(2147483647), `order_time` TIMESTAMP(3)>" ,
91
+ "description" : " Calc(select=[order_id, MYSCALARFUNCTION(customer_id, customer_id) AS EXPR$1, order_amount, order_status, order_time])"
92
+ }, {
93
+ "id" : 8 ,
94
+ "type" : " stream-exec-sink_1" ,
95
+ "configuration" : {
96
+ "table.exec.sink.keyed-shuffle" : " AUTO" ,
97
+ "table.exec.sink.not-null-enforcer" : " ERROR" ,
98
+ "table.exec.sink.rowtime-inserter" : " ENABLED" ,
99
+ "table.exec.sink.type-length-enforcer" : " IGNORE" ,
100
+ "table.exec.sink.upsert-materialize" : " AUTO"
101
+ },
102
+ "dynamicTableSink" : {
103
+ "table" : {
104
+ "identifier" : " `default_catalog`.`default_database`.`blackhole_orders`" ,
105
+ "resolvedTable" : {
106
+ "schema" : {
107
+ "columns" : [ {
108
+ "name" : " order_id" ,
109
+ "dataType" : " BIGINT"
110
+ }, {
111
+ "name" : " customer_id" ,
112
+ "dataType" : " BIGINT"
113
+ }, {
114
+ "name" : " order_amount" ,
115
+ "dataType" : " DECIMAL(10, 2)"
116
+ }, {
117
+ "name" : " order_status" ,
118
+ "dataType" : " VARCHAR(2147483647)"
119
+ }, {
120
+ "name" : " order_time" ,
121
+ "dataType" : " TIMESTAMP(3)"
122
+ } ],
123
+ "watermarkSpecs" : [ ]
124
+ },
125
+ "partitionKeys" : [ ],
126
+ "options" : {
127
+ "connector" : " blackhole"
128
+ }
129
+ }
130
+ }
131
+ },
132
+ "inputChangelogMode" : [ " INSERT" ],
133
+ "inputProperties" : [ {
134
+ "requiredDistribution" : {
135
+ "type" : " UNKNOWN"
136
+ },
137
+ "damBehavior" : " PIPELINED" ,
138
+ "priority" : 0
139
+ } ],
140
+ "outputType" : " ROW<`order_id` BIGINT, `EXPR$1` BIGINT, `order_amount` DECIMAL(10, 2), `order_status` VARCHAR(2147483647), `order_time` TIMESTAMP(3)>" ,
141
+ "description" : " Sink(table=[default_catalog.default_database.blackhole_orders], fields=[order_id, EXPR$1, order_amount, order_status, order_time])"
142
+ }, {
143
+ "id" : 9 ,
144
+ "type" : " stream-exec-calc_1" ,
145
+ "projection" : [ {
146
+ "kind" : " INPUT_REF" ,
147
+ "inputIndex" : 0 ,
148
+ "type" : " BIGINT"
149
+ }, {
150
+ "kind" : " CALL" ,
151
+ "catalogName" : " `default_catalog`.`default_database`.`MYSCALARFUNCTION`" ,
152
+ "class" : " com.myudf.MyScalarFunction" ,
153
+ "operands" : [ {
154
+ "kind" : " INPUT_REF" ,
155
+ "inputIndex" : 1 ,
156
+ "type" : " BIGINT"
157
+ }, {
158
+ "kind" : " INPUT_REF" ,
159
+ "inputIndex" : 1 ,
160
+ "type" : " BIGINT"
161
+ } ],
162
+ "type" : " BIGINT"
163
+ }, {
164
+ "kind" : " INPUT_REF" ,
165
+ "inputIndex" : 2 ,
166
+ "type" : " DECIMAL(10, 2)"
167
+ }, {
168
+ "kind" : " INPUT_REF" ,
169
+ "inputIndex" : 4 ,
170
+ "type" : " TIMESTAMP(3)"
171
+ } ],
172
+ "condition" : {
173
+ "kind" : " CALL" ,
174
+ "syntax" : " BINARY" ,
175
+ "internalName" : " $<$1" ,
176
+ "operands" : [ {
177
+ "kind" : " INPUT_REF" ,
178
+ "inputIndex" : 0 ,
179
+ "type" : " BIGINT"
180
+ }, {
181
+ "kind" : " LITERAL" ,
182
+ "value" : 10 ,
183
+ "type" : " INT NOT NULL"
184
+ } ],
185
+ "type" : " BOOLEAN"
186
+ },
187
+ "inputProperties" : [ {
188
+ "requiredDistribution" : {
189
+ "type" : " UNKNOWN"
190
+ },
191
+ "damBehavior" : " PIPELINED" ,
192
+ "priority" : 0
193
+ } ],
194
+ "outputType" : " ROW<`order_id` BIGINT, `EXPR$1` BIGINT, `order_amount` DECIMAL(10, 2), `order_time` TIMESTAMP(3)>" ,
195
+ "description" : " Calc(select=[order_id, MYSCALARFUNCTION(customer_id, customer_id) AS EXPR$1, order_amount, order_time], where=[(order_id < 10)])"
196
+ }, {
197
+ "id" : 10 ,
198
+ "type" : " stream-exec-sink_1" ,
199
+ "configuration" : {
200
+ "table.exec.sink.keyed-shuffle" : " AUTO" ,
201
+ "table.exec.sink.not-null-enforcer" : " ERROR" ,
202
+ "table.exec.sink.rowtime-inserter" : " ENABLED" ,
203
+ "table.exec.sink.type-length-enforcer" : " IGNORE" ,
204
+ "table.exec.sink.upsert-materialize" : " AUTO"
205
+ },
206
+ "dynamicTableSink" : {
207
+ "table" : {
208
+ "identifier" : " `default_catalog`.`default_database`.`blackhole_myorders`" ,
209
+ "resolvedTable" : {
210
+ "schema" : {
211
+ "columns" : [ {
212
+ "name" : " order_id" ,
213
+ "dataType" : " BIGINT"
214
+ }, {
215
+ "name" : " customer_id" ,
216
+ "dataType" : " BIGINT"
217
+ }, {
218
+ "name" : " order_amount" ,
219
+ "dataType" : " DECIMAL(10, 2)"
220
+ }, {
221
+ "name" : " order_time" ,
222
+ "dataType" : " TIMESTAMP(3)"
223
+ } ],
224
+ "watermarkSpecs" : [ ]
225
+ },
226
+ "partitionKeys" : [ ],
227
+ "options" : {
228
+ "connector" : " print"
229
+ }
230
+ }
231
+ }
232
+ },
233
+ "inputChangelogMode" : [ " INSERT" ],
234
+ "inputProperties" : [ {
235
+ "requiredDistribution" : {
236
+ "type" : " UNKNOWN"
237
+ },
238
+ "damBehavior" : " PIPELINED" ,
239
+ "priority" : 0
240
+ } ],
241
+ "outputType" : " ROW<`order_id` BIGINT, `EXPR$1` BIGINT, `order_amount` DECIMAL(10, 2), `order_time` TIMESTAMP(3)>" ,
242
+ "description" : " Sink(table=[default_catalog.default_database.blackhole_myorders], fields=[order_id, EXPR$1, order_amount, order_time])"
243
+ } ],
244
+ "edges" : [ {
245
+ "source" : 6 ,
246
+ "target" : 7 ,
247
+ "shuffle" : {
248
+ "type" : " FORWARD"
249
+ },
250
+ "shuffleMode" : " PIPELINED"
251
+ }, {
252
+ "source" : 7 ,
253
+ "target" : 8 ,
254
+ "shuffle" : {
255
+ "type" : " FORWARD"
256
+ },
257
+ "shuffleMode" : " PIPELINED"
258
+ }, {
259
+ "source" : 6 ,
260
+ "target" : 9 ,
261
+ "shuffle" : {
262
+ "type" : " FORWARD"
263
+ },
264
+ "shuffleMode" : " PIPELINED"
265
+ }, {
266
+ "source" : 9 ,
267
+ "target" : 10 ,
268
+ "shuffle" : {
269
+ "type" : " FORWARD"
270
+ },
271
+ "shuffleMode" : " PIPELINED"
272
+ } ]
273
+ }
0 commit comments