Conversation
Generated-by: Codex (GPT-6)
Generated-by: Codex (GPT-6)
…idation Generated-by: Codex (GPT-6)
…results Generated-by: Codex (GPT-6)
Respect whole-row argument offsets, normalize chunked results before nested calls, skip unused pandas timezone conversion for native Arrow, and validate container nullability without copying payloads. Generated-by: Codex (GPT-6)
Defer and memoize ancestor visibility until a NOT NULL descendant contains physical nulls. Extend the existing coder round-trip and allocation test with Boolean lists. Generated-by: Codex (GPT-6)
Use expected Arrow fields for structure and nullability checks in both coder implementations, while retaining Flink types for pandas conversion. Generated-by: Codex (GPT-6)
Extend existing worker tests for normalized intermediate results, selected and repeated outputs, and whole-row result references. Apply import ordering to the rebase resolutions. Generated-by: Codex (GPT-6)
Reset key and value writers together with map vectors so consecutive batches reuse aligned offsets. Cover direct and nested maps, nulls, empty maps, and partial batches through Arrow IPC round trips. Generated-by: Codex (GPT-6)
Use the legacy MAP constructor on PyArrow 5 while retaining logical map-value null checks. Apply validated native output schemas by rebuilding container metadata over existing buffers, preserving sliced and nested results without version-dependent casts. Generated-by: Codex (GPT-6)
…tion Expand parent visibility as booleans using child counts from list/map offsets. Reuse coder round-trip tests for slices, varying child counts and nullability, and remove memory-usage assertions. Generated-by: Codex (GPT-6)
Move Arrow schema validation beside existing serialization utilities and UDF result handling beside pandas execution helpers. Generated-by: Codex (GPT-6)
auroflow
marked this pull request as ready for review
September 17, 2026 02:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the purpose of the change
Implement FLINK-40472 by adding synchronous Arrow vectorized scalar UDFs to the PyFlink DataFrame API. UDFs receive Arrow arrays and can apply
pyarrow.computeoperations directly to column batches.Arrow mode can be inferred from Arrow container annotations or selected with
func_type="arrow". The Table API supports explicit Arrow mode.Brief change log
Verifying this change
This change extends existing declaration, worker, coder, planner and Arrow reader/writer tests, plus the combined DataFrame UDF integration test. Tests cover observable values, schemas, execution plans and error behavior.
PythonCalcSplitFunctionKindRuleTest,ProtoUtilsTestandArrowReaderWriterTest../mvnw clean install -DskipTests -Dfast -Pskip-webui-build -T4. The full Maven test suite was not run.Does this pull request potentially affect one of the following parts:
@Public(Evolving): yes — extends the Python DataFrame and Table UDF APIs.Documentation
Was generative AI tooling used to co-author this PR?
Generated-by: Codex (GPT-6)