Repository navigation
Commit 9673bf9
committed
fix: read the codegen factory mode through its string form
Spark 3.4 has no `codegenFactoryMode` accessor and Spark 4.1 types it as
the enum, so the aggregate gate did not compile on either. The conf entry's
string key exists on every version, so the gate reads that and compares it
to `NO_CODEGEN` ignoring case, which is how Spark accepts the value.1 parent 62a0994 commit 9673bf9
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
2235 | 2236 | | |
2236 | 2237 | | |
2237 | 2238 | | |
2238 | | - | |
2239 | | - | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
2240 | 2242 | | |
2241 | 2243 | | |
2242 | 2244 | | |
| |||
0 commit comments