Skip to content

[SPARK-56189][PYTHON] Refactor SQL_WINDOW_AGG_ARROW_UDF#55123

Closed
Yicong-Huang wants to merge 2 commits intoapache:masterfrom
Yicong-Huang:refactor/window-agg-arrow-udf
Closed

[SPARK-56189][PYTHON] Refactor SQL_WINDOW_AGG_ARROW_UDF#55123
Yicong-Huang wants to merge 2 commits intoapache:masterfrom
Yicong-Huang:refactor/window-agg-arrow-udf

Conversation

@Yicong-Huang
Copy link
Copy Markdown
Contributor

@Yicong-Huang Yicong-Huang commented Apr 1, 2026

What changes were proposed in this pull request?

Refactor SQL_WINDOW_AGG_ARROW_UDF to be self-contained in read_udfs(), moving bounded/unbounded window logic from wrapper functions and the old mapper into a single execution block that uses ArrowStreamSerializer as pure I/O.

Why are the changes needed?

Part of SPARK-55388.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing tests

Was this patch authored or co-authored using generative AI tooling?

No.

@Yicong-Huang Yicong-Huang changed the title [SPARK-56189][PYTHON] Refactor SQL_WINDOW_AGG_ARROW_UDF to use ArrowStreamSerializer [SPARK-56189][PYTHON] Refactor SQL_WINDOW_AGG_ARROW_UDF Apr 1, 2026
@Yicong-Huang Yicong-Huang force-pushed the refactor/window-agg-arrow-udf branch from 9054f54 to ba33b81 Compare April 1, 2026 00:40
@Yicong-Huang Yicong-Huang force-pushed the refactor/window-agg-arrow-udf branch from ba33b81 to 34c0bd8 Compare April 1, 2026 18:42
@zhengruifeng
Copy link
Copy Markdown
Contributor

merged to master

@zhengruifeng
Copy link
Copy Markdown
Contributor

@Yicong-Huang it seems spark-connect has been broken by this PR, I am going to revert it first

https://github.com/apache/spark/actions/runs/23879531895/job/69630001459

@zhengruifeng
Copy link
Copy Markdown
Contributor

#55152

@Yicong-Huang
Copy link
Copy Markdown
Contributor Author

@Yicong-Huang it seems spark-connect has been broken by this PR, I am going to revert it first

https://github.com/apache/spark/actions/runs/23879531895/job/69630001459

yeah it's a conflict on two refactors. I will redo this one. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants