Commit 0701855
[SPARK-54619][PYTHON] Add a sanity check for configuration numbers
### What changes were proposed in this pull request?
Add sanity check for number of configurations being passed.
### Why are the changes needed?
This is helpful to recognize malformed message - avoid potential deadlock when the message does not conform to protocol.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
This error should not happen and it should not break CI either.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #53359 from gaogaotiantian/runner-conf-sanity-check.
Authored-by: Tian Gao <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>1 parent e934c43 commit 0701855
2 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
941 | 941 | | |
942 | 942 | | |
943 | 943 | | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
944 | 949 | | |
945 | 950 | | |
946 | 951 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
122 | 134 | | |
123 | 135 | | |
124 | 136 | | |
| |||
0 commit comments