Commit 54bbdf8
refactor(udwf): drop redundant PythonFunctionWindowUDF::from_parts
`from_parts` was a verbatim wrapper over `new` with an identical
signature, kept only for parity with the scalar / aggregate variants
where `from_parts` accepts richer state (return `Field`, state
`Vec<FieldRef>`) than `new`. Window UDFs have no such asymmetry, so
the indirection added no value.
Call `PythonFunctionWindowUDF::new` from the codec directly. Same
behavior, one fewer hop.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5762435 commit 54bbdf8
2 files changed
Lines changed: 1 addition & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
747 | | - | |
| 747 | + | |
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | 314 | | |
325 | 315 | | |
326 | 316 | | |
| |||
0 commit comments