Commit eceb9c6
Modify pipeline manager to support JIT.
Added support for running pipelines in JIT mode to the pipeline manager.
- Added `jit_mode` flag to the `Program` table in the pipeline manager
database. The flag can be set when creating or modifying the
program. Alternatives include making this a property of a pipeline.
I ended up making this a per-program config because this way we can
skip building the rust executable for the program configured to run
in JIT mode.
- Modified the compiler service to only run the SQL compiler when the
`jit_mode` flag is set for the program.
- Modified the local runner to run the SQL compiler again when starting
the pipeline in order to generate the JIT IR, followed by the `pipeline`
executable to execute the IR.
- Add the `pipeline` executable to the pipeline manager container.
Partially addresses #680
Signed-off-by: Leonid Ryzhyk <leonid@feldera.com>1 parent 406a110 commit eceb9c6
File tree
31 files changed
+859
-270
lines changed- crates/pipeline_manager
- migrations
- src
- bin
- db
- demo
- project_demo00-SecOps
- project_demo01-TimeSeriesEnrich
- project_demo02-FraudDetection
- project_demo03-GreenTrip
- project_demo04-SimpleSelect
- project_demo05-DebeziumMySQL
- project_demo06-SupplyChainTutorial
- project_demo07-SnowflakeSink
- deploy
- python
- dbsp
- feldera-api-client/feldera_api_client/models
- scripts
31 files changed
+859
-270
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| 335 | + | |
335 | 336 | | |
336 | 337 | | |
337 | 338 | | |
| 339 | + | |
338 | 340 | | |
339 | 341 | | |
340 | 342 | | |
| |||
467 | 469 | | |
468 | 470 | | |
469 | 471 | | |
| 472 | + | |
470 | 473 | | |
471 | 474 | | |
472 | 475 | | |
473 | 476 | | |
474 | 477 | | |
475 | 478 | | |
476 | | - | |
477 | 479 | | |
478 | 480 | | |
479 | 481 | | |
| |||
489 | 491 | | |
490 | 492 | | |
491 | 493 | | |
492 | | - | |
| 494 | + | |
493 | 495 | | |
494 | 496 | | |
495 | 497 | | |
| |||
514 | 516 | | |
515 | 517 | | |
516 | 518 | | |
| 519 | + | |
517 | 520 | | |
518 | 521 | | |
519 | 522 | | |
| |||
528 | 531 | | |
529 | 532 | | |
530 | 533 | | |
531 | | - | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
532 | 542 | | |
533 | 543 | | |
534 | 544 | | |
| |||
617 | 627 | | |
618 | 628 | | |
619 | 629 | | |
| 630 | + | |
620 | 631 | | |
621 | 632 | | |
622 | 633 | | |
623 | 634 | | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
| 635 | + | |
| 636 | + | |
629 | 637 | | |
630 | 638 | | |
631 | 639 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
726 | 729 | | |
727 | 730 | | |
728 | 731 | | |
| |||
772 | 775 | | |
773 | 776 | | |
774 | 777 | | |
| 778 | + | |
775 | 779 | | |
776 | 780 | | |
777 | 781 | | |
| |||
799 | 803 | | |
800 | 804 | | |
801 | 805 | | |
| 806 | + | |
| 807 | + | |
802 | 808 | | |
803 | 809 | | |
804 | 810 | | |
| |||
853 | 859 | | |
854 | 860 | | |
855 | 861 | | |
| 862 | + | |
856 | 863 | | |
857 | 864 | | |
858 | 865 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| |||
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
39 | | - | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
79 | | - | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
85 | | - | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
0 commit comments