-
Notifications
You must be signed in to change notification settings - Fork 72
Commit a7a6308
authored
Add Pyspark listener (#248)
This PR adds support for a Pyspark listener that is intended to receive queries from the MC2 Client. It contains SBT code to generate Python protobuf files and package them into a zip automatically for submitting to a standalone Spark cluster. The instructions for running the listener are in the client docs.
Unfortunately, it also introduces a Python dependency to Opaque SQL, since there are required packages to start the Python listener service.1 parent 2cc3f6e commit a7a6308
File tree
15 files changed
+122
-16
lines changed- .github/scripts
- docker
- opaque-sql-docs/src
- install
- usage
- scripts
- src
- main/resources
- python
- protobuf
15 files changed
+122
-16
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | + | ||
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
75 | + | ||
71 | 76 |
| |
72 | 77 |
| |
73 | 78 |
| |
|
Lines changed: 34 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
161 | 161 |
| |
162 | 162 |
| |
163 | 163 |
| |
164 | - | ||
165 | - | ||
166 | 164 |
| |
167 | 165 |
| |
168 | 166 |
| |
| |||
192 | 190 |
| |
193 | 191 |
| |
194 | 192 |
| |
193 | + | ||
194 | + | ||
195 | + | ||
196 | + | ||
197 | + | ||
198 | + | ||
199 | + | ||
195 | 200 |
| |
196 | 201 |
| |
197 | 202 |
| |
| |||
438 | 443 |
| |
439 | 444 |
| |
440 | 445 |
| |
446 | + | ||
447 | + | ||
448 | + | ||
449 | + | ||
450 | + | ||
451 | + | ||
452 | + | ||
453 | + | ||
454 | + | ||
455 | + | ||
456 | + | ||
457 | + | ||
458 | + | ||
459 | + | ||
460 | + | ||
461 | + | ||
462 | + | ||
463 | + | ||
464 | + | ||
465 | + | ||
466 | + | ||
467 | + | ||
468 | + | ||
469 | + | ||
470 | + | ||
471 | + | ||
472 | + |
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | + | ||
8 | + | ||
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 | + | ||
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
|
Lines changed: 26 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 | - | ||
13 | - | ||
14 | - | ||
15 | - | ||
12 | + | ||
16 | 13 |
| |
17 | 14 |
| |
18 | 15 |
| |
19 | 16 |
| |
20 | 17 |
| |
21 | 18 |
| |
22 | 19 |
| |
23 | - | ||
20 | + | ||
24 | 21 |
| |
25 | 22 |
| |
26 | 23 |
| |
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
27 | 29 |
| |
28 | 30 |
| |
29 | 31 |
| |
30 | 32 |
| |
31 | 33 |
| |
32 | 34 |
| |
33 | - | ||
35 | + | ||
34 | 36 |
| |
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
38 | 40 |
| |
39 | 41 |
| |
40 | - | ||
41 | - | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
42 | 60 |
| |
43 | 61 |
| |
44 | 62 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 | - | ||
81 | + | ||
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | - | ||
8 | - | ||
9 | - | ||
10 | 7 |
| |
11 | 8 |
| |
12 | 9 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 | + | ||
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | - | ||
2 | + | ||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
|
0 commit comments