|
1 | 1 | {
|
2 | 2 | "flinkVersion" : "2.2",
|
3 | 3 | "nodes" : [ {
|
4 |
| - "id" : 1, |
| 4 | + "id" : 68, |
5 | 5 | "type" : "stream-exec-table-source-scan_1",
|
6 | 6 | "scanTableSource" : {
|
7 | 7 | "table" : {
|
|
27 | 27 | "outputType" : "ROW<`user_id_0` VARCHAR(2147483647) NOT NULL, `name` VARCHAR(2147483647)>",
|
28 | 28 | "description" : "TableSourceScan(table=[[default_catalog, default_database, Users]], fields=[user_id_0, name])"
|
29 | 29 | }, {
|
30 |
| - "id" : 2, |
| 30 | + "id" : 69, |
31 | 31 | "type" : "stream-exec-exchange_1",
|
32 | 32 | "inputProperties" : [ {
|
33 | 33 | "requiredDistribution" : {
|
|
40 | 40 | "outputType" : "ROW<`user_id_0` VARCHAR(2147483647) NOT NULL, `name` VARCHAR(2147483647)>",
|
41 | 41 | "description" : "Exchange(distribution=[hash[user_id_0]])"
|
42 | 42 | }, {
|
43 |
| - "id" : 3, |
| 43 | + "id" : 70, |
44 | 44 | "type" : "stream-exec-table-source-scan_1",
|
45 | 45 | "scanTableSource" : {
|
46 | 46 | "table" : {
|
|
73 | 73 | "outputType" : "ROW<`order_id` VARCHAR(2147483647) NOT NULL, `user_id_1` VARCHAR(2147483647) NOT NULL, `product` VARCHAR(2147483647)>",
|
74 | 74 | "description" : "TableSourceScan(table=[[default_catalog, default_database, Orders, filter=[]]], fields=[order_id, user_id_1, product])"
|
75 | 75 | }, {
|
76 |
| - "id" : 4, |
| 76 | + "id" : 71, |
77 | 77 | "type" : "stream-exec-calc_1",
|
78 | 78 | "projection" : [ {
|
79 | 79 | "kind" : "INPUT_REF",
|
|
105 | 105 | "outputType" : "ROW<`order_id` VARCHAR(2147483647) NOT NULL, `user_id_1` VARCHAR(2147483647) NOT NULL>",
|
106 | 106 | "description" : "Calc(select=[order_id, user_id_1], where=[product IS NOT NULL])"
|
107 | 107 | }, {
|
108 |
| - "id" : 5, |
| 108 | + "id" : 72, |
109 | 109 | "type" : "stream-exec-exchange_1",
|
110 | 110 | "inputProperties" : [ {
|
111 | 111 | "requiredDistribution" : {
|
|
118 | 118 | "outputType" : "ROW<`order_id` VARCHAR(2147483647) NOT NULL, `user_id_1` VARCHAR(2147483647) NOT NULL>",
|
119 | 119 | "description" : "Exchange(distribution=[hash[user_id_1]])"
|
120 | 120 | }, {
|
121 |
| - "id" : 6, |
| 121 | + "id" : 73, |
122 | 122 | "type" : "stream-exec-table-source-scan_1",
|
123 | 123 | "scanTableSource" : {
|
124 | 124 | "table" : {
|
|
151 | 151 | "outputType" : "ROW<`payment_id` VARCHAR(2147483647) NOT NULL, `user_id_2` VARCHAR(2147483647) NOT NULL, `price` INT>",
|
152 | 152 | "description" : "TableSourceScan(table=[[default_catalog, default_database, Payments, filter=[]]], fields=[payment_id, user_id_2, price])"
|
153 | 153 | }, {
|
154 |
| - "id" : 7, |
| 154 | + "id" : 74, |
155 | 155 | "type" : "stream-exec-calc_1",
|
156 | 156 | "projection" : [ {
|
157 | 157 | "kind" : "INPUT_REF",
|
|
187 | 187 | "outputType" : "ROW<`payment_id` VARCHAR(2147483647) NOT NULL, `user_id_2` VARCHAR(2147483647) NOT NULL>",
|
188 | 188 | "description" : "Calc(select=[payment_id, user_id_2], where=[(price >= 0)])"
|
189 | 189 | }, {
|
190 |
| - "id" : 8, |
| 190 | + "id" : 75, |
191 | 191 | "type" : "stream-exec-exchange_1",
|
192 | 192 | "inputProperties" : [ {
|
193 | 193 | "requiredDistribution" : {
|
|
200 | 200 | "outputType" : "ROW<`payment_id` VARCHAR(2147483647) NOT NULL, `user_id_2` VARCHAR(2147483647) NOT NULL>",
|
201 | 201 | "description" : "Exchange(distribution=[hash[user_id_2]])"
|
202 | 202 | }, {
|
203 |
| - "id" : 9, |
| 203 | + "id" : 76, |
204 | 204 | "type" : "stream-exec-table-source-scan_1",
|
205 | 205 | "scanTableSource" : {
|
206 | 206 | "table" : {
|
|
230 | 230 | "outputType" : "ROW<`user_id_3` VARCHAR(2147483647) NOT NULL, `location` VARCHAR(2147483647)>",
|
231 | 231 | "description" : "TableSourceScan(table=[[default_catalog, default_database, Address, filter=[]]], fields=[user_id_3, location])"
|
232 | 232 | }, {
|
233 |
| - "id" : 10, |
| 233 | + "id" : 77, |
234 | 234 | "type" : "stream-exec-calc_1",
|
235 | 235 | "projection" : [ {
|
236 | 236 | "kind" : "INPUT_REF",
|
|
262 | 262 | "outputType" : "ROW<`user_id_3` VARCHAR(2147483647) NOT NULL, `location` VARCHAR(2147483647)>",
|
263 | 263 | "description" : "Calc(select=[user_id_3, location], where=[location IS NOT NULL])"
|
264 | 264 | }, {
|
265 |
| - "id" : 11, |
| 265 | + "id" : 78, |
266 | 266 | "type" : "stream-exec-exchange_1",
|
267 | 267 | "inputProperties" : [ {
|
268 | 268 | "requiredDistribution" : {
|
|
275 | 275 | "outputType" : "ROW<`user_id_3` VARCHAR(2147483647) NOT NULL, `location` VARCHAR(2147483647)>",
|
276 | 276 | "description" : "Exchange(distribution=[hash[user_id_3]])"
|
277 | 277 | }, {
|
278 |
| - "id" : 12, |
| 278 | + "id" : 79, |
279 | 279 | "type" : "stream-exec-multi-join_1",
|
280 | 280 | "joinTypes" : [ "INNER", "INNER", "INNER", "INNER" ],
|
281 | 281 | "joinConditions" : [ {
|
|
458 | 458 | "priority" : 3
|
459 | 459 | } ],
|
460 | 460 | "outputType" : "ROW<`user_id_0` VARCHAR(2147483647) NOT NULL, `name` VARCHAR(2147483647), `order_id` VARCHAR(2147483647) NOT NULL, `user_id_1` VARCHAR(2147483647) NOT NULL, `payment_id` VARCHAR(2147483647) NOT NULL, `user_id_2` VARCHAR(2147483647) NOT NULL, `user_id_3` VARCHAR(2147483647) NOT NULL, `location` VARCHAR(2147483647)>",
|
461 |
| - "description" : "MultiJoin(joinFilter=[AND(=($0, $6), =($0, $5), =($0, $3))], joinTypes=[[INNER, INNER, INNER, INNER]], joinConditions=[[true, =($0, $3), =($0, $5), =($0, $6)]], joinAttributeMap=[{0=[LeftInputId:-1;LeftFieldIndex:-1;RightInputId:0;RightFieldIndex:0;, LeftInputId:-1;LeftFieldIndex:-1;RightInputId:0;RightFieldIndex:0;, LeftInputId:-1;LeftFieldIndex:-1;RightInputId:0;RightFieldIndex:0;], 1=[LeftInputId:0;LeftFieldIndex:0;RightInputId:1;RightFieldIndex:1;], 2=[LeftInputId:0;LeftFieldIndex:0;RightInputId:2;RightFieldIndex:1;], 3=[LeftInputId:0;LeftFieldIndex:0;RightInputId:3;RightFieldIndex:0;]}], select=[user_id_0,name,order_id,user_id_1,payment_id,user_id_2,user_id_3,location], rowType=[RecordType(VARCHAR(2147483647) user_id_0, VARCHAR(2147483647) name, VARCHAR(2147483647) order_id, VARCHAR(2147483647) user_id_1, VARCHAR(2147483647) payment_id, VARCHAR(2147483647) user_id_2, VARCHAR(2147483647) user_id_3, VARCHAR(2147483647) location)])" |
| 461 | + "description" : "MultiJoin(commonJoinKey=[user_id_0], joinTypes=[INNER, INNER, INNER], inputUniqueKeys=[(user_id_0), (order_id, user_id_1), (payment_id, user_id_2), (user_id_3)], joinConditions=[(user_id_0 = user_id_1), (user_id_0 = user_id_2), (user_id_0 = user_id_3)], select=[user_id_0,name,order_id,user_id_1,payment_id,user_id_2,user_id_3,location], rowType=[RecordType(VARCHAR(2147483647) user_id_0, VARCHAR(2147483647) name, VARCHAR(2147483647) order_id, VARCHAR(2147483647) user_id_1, VARCHAR(2147483647) payment_id, VARCHAR(2147483647) user_id_2, VARCHAR(2147483647) user_id_3, VARCHAR(2147483647) location)])" |
462 | 462 | }, {
|
463 |
| - "id" : 13, |
| 463 | + "id" : 80, |
464 | 464 | "type" : "stream-exec-calc_1",
|
465 | 465 | "projection" : [ {
|
466 | 466 | "kind" : "INPUT_REF",
|
|
502 | 502 | "outputType" : "ROW<`user_id_0` VARCHAR(2147483647) NOT NULL, `order_id` VARCHAR(2147483647) NOT NULL, `user_id_1` VARCHAR(2147483647) NOT NULL, `payment_id` VARCHAR(2147483647) NOT NULL, `user_id_2` VARCHAR(2147483647) NOT NULL, `name` VARCHAR(2147483647), `location` VARCHAR(2147483647)>",
|
503 | 503 | "description" : "Calc(select=[user_id_0, order_id, user_id_1, payment_id, user_id_2, name, location])"
|
504 | 504 | }, {
|
505 |
| - "id" : 14, |
| 505 | + "id" : 81, |
506 | 506 | "type" : "stream-exec-sink_1",
|
507 | 507 | "configuration" : {
|
508 | 508 | "table.exec.sink.keyed-shuffle" : "AUTO",
|
|
560 | 560 | "description" : "Sink(table=[default_catalog.default_database.sink], fields=[user_id_0, order_id, user_id_1, payment_id, user_id_2, name, location])"
|
561 | 561 | } ],
|
562 | 562 | "edges" : [ {
|
563 |
| - "source" : 1, |
564 |
| - "target" : 2, |
| 563 | + "source" : 68, |
| 564 | + "target" : 69, |
565 | 565 | "shuffle" : {
|
566 | 566 | "type" : "FORWARD"
|
567 | 567 | },
|
568 | 568 | "shuffleMode" : "PIPELINED"
|
569 | 569 | }, {
|
570 |
| - "source" : 3, |
571 |
| - "target" : 4, |
| 570 | + "source" : 70, |
| 571 | + "target" : 71, |
572 | 572 | "shuffle" : {
|
573 | 573 | "type" : "FORWARD"
|
574 | 574 | },
|
575 | 575 | "shuffleMode" : "PIPELINED"
|
576 | 576 | }, {
|
577 |
| - "source" : 4, |
578 |
| - "target" : 5, |
| 577 | + "source" : 71, |
| 578 | + "target" : 72, |
579 | 579 | "shuffle" : {
|
580 | 580 | "type" : "FORWARD"
|
581 | 581 | },
|
582 | 582 | "shuffleMode" : "PIPELINED"
|
583 | 583 | }, {
|
584 |
| - "source" : 6, |
585 |
| - "target" : 7, |
| 584 | + "source" : 73, |
| 585 | + "target" : 74, |
586 | 586 | "shuffle" : {
|
587 | 587 | "type" : "FORWARD"
|
588 | 588 | },
|
589 | 589 | "shuffleMode" : "PIPELINED"
|
590 | 590 | }, {
|
591 |
| - "source" : 7, |
592 |
| - "target" : 8, |
| 591 | + "source" : 74, |
| 592 | + "target" : 75, |
593 | 593 | "shuffle" : {
|
594 | 594 | "type" : "FORWARD"
|
595 | 595 | },
|
596 | 596 | "shuffleMode" : "PIPELINED"
|
597 | 597 | }, {
|
598 |
| - "source" : 9, |
599 |
| - "target" : 10, |
| 598 | + "source" : 76, |
| 599 | + "target" : 77, |
600 | 600 | "shuffle" : {
|
601 | 601 | "type" : "FORWARD"
|
602 | 602 | },
|
603 | 603 | "shuffleMode" : "PIPELINED"
|
604 | 604 | }, {
|
605 |
| - "source" : 10, |
606 |
| - "target" : 11, |
| 605 | + "source" : 77, |
| 606 | + "target" : 78, |
607 | 607 | "shuffle" : {
|
608 | 608 | "type" : "FORWARD"
|
609 | 609 | },
|
610 | 610 | "shuffleMode" : "PIPELINED"
|
611 | 611 | }, {
|
612 |
| - "source" : 2, |
613 |
| - "target" : 12, |
| 612 | + "source" : 69, |
| 613 | + "target" : 79, |
614 | 614 | "shuffle" : {
|
615 | 615 | "type" : "FORWARD"
|
616 | 616 | },
|
617 | 617 | "shuffleMode" : "PIPELINED"
|
618 | 618 | }, {
|
619 |
| - "source" : 5, |
620 |
| - "target" : 12, |
| 619 | + "source" : 72, |
| 620 | + "target" : 79, |
621 | 621 | "shuffle" : {
|
622 | 622 | "type" : "FORWARD"
|
623 | 623 | },
|
624 | 624 | "shuffleMode" : "PIPELINED"
|
625 | 625 | }, {
|
626 |
| - "source" : 8, |
627 |
| - "target" : 12, |
| 626 | + "source" : 75, |
| 627 | + "target" : 79, |
628 | 628 | "shuffle" : {
|
629 | 629 | "type" : "FORWARD"
|
630 | 630 | },
|
631 | 631 | "shuffleMode" : "PIPELINED"
|
632 | 632 | }, {
|
633 |
| - "source" : 11, |
634 |
| - "target" : 12, |
| 633 | + "source" : 78, |
| 634 | + "target" : 79, |
635 | 635 | "shuffle" : {
|
636 | 636 | "type" : "FORWARD"
|
637 | 637 | },
|
638 | 638 | "shuffleMode" : "PIPELINED"
|
639 | 639 | }, {
|
640 |
| - "source" : 12, |
641 |
| - "target" : 13, |
| 640 | + "source" : 79, |
| 641 | + "target" : 80, |
642 | 642 | "shuffle" : {
|
643 | 643 | "type" : "FORWARD"
|
644 | 644 | },
|
645 | 645 | "shuffleMode" : "PIPELINED"
|
646 | 646 | }, {
|
647 |
| - "source" : 13, |
648 |
| - "target" : 14, |
| 647 | + "source" : 80, |
| 648 | + "target" : 81, |
649 | 649 | "shuffle" : {
|
650 | 650 | "type" : "FORWARD"
|
651 | 651 | },
|
|
0 commit comments