You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-52949][PYTHON] Avoid roundtrip between RecordBatch and Table in Arrow-optimized Python UDTF
### What changes were proposed in this pull request?
Avoids roundtrip between `RecordBatch` and `Table` in Arrow-optimized Python UDTF.
### Why are the changes needed?
In the Arrow-optimized Python UDTF code path, there are unnecessary roundtrip between `RecordBatch` and `Table`.
We can defer converting to `RecordBatch` to after the result verification.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
The existing tests.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes#51659 from ueshin/issues/SPARK-52949/arrow_udtf.
Authored-by: Takuya Ueshin <[email protected]>
Signed-off-by: Takuya Ueshin <[email protected]>
0 commit comments