auroflow opened a new pull request, #29002: URL: https://github.com/apache/flink/pull/29002
## What is the purpose of the change This pull request completes the remaining core PyFlink DataFrame ergonomics defined by the DataFrame API FLIP. It adds the remaining basic column transformations, functional composition support, filtering aliases, and schema metadata properties. ## Brief change log - Add `DataFrame.with_columns()` for adding or replacing multiple columns. - Add `DataFrame.drop_columns()` and its `drop` alias. - Add `DataFrame.rename_columns()` and its `rename` alias, supporting mappings, callables, and positional name pairs. - Add `DataFrame.pipe()` and the `where` alias for `filter`. - Add the `schema` and `columns` properties. - Update the DataFrame API reference and public API docstrings. ## Verifying this change This change added tests and can be verified as follows: - Added planner-backed unit coverage for `with_columns`, column dropping and renaming, and schema metadata properties. - Added environment-independent unit coverage for `pipe` argument forwarding, return values, and alias identity. - Extended `DataFrameITTests.test_basic_functionality` so the new transformations participate in its existing single executed job. ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): no - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: yes - The serializers: no - The runtime per-record code paths (performance sensitive): no - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no - The S3 file system connector: no ## Documentation - Does this pull request introduce a new feature? yes - If yes, how is the feature documented? DataFrame API reference and Python API docstrings --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: Codex (GPT-5) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
