Skip to content

Conversation

geetanshjuneja
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

What changes are included in this PR?

Changed AsyncScalarUDFImpl::invoke_async_with_args return type to ColumnarValue.

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added logical-expr Logical plan and expressions physical-expr Changes to the physical-expr crates documentation Improvements or additions to documentation core Core DataFusion crate labels Jul 24, 2025
@github-actions github-actions bot removed the core Core DataFusion crate label Jul 25, 2025
Copy link
Member

@xudong963 xudong963 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there aren't any special backgrounds, this change lgtm

@alamb alamb added the api change Changes the API exposed to users of the crate label Jul 29, 2025
@alamb
Copy link
Contributor

alamb commented Jul 29, 2025

Thank you @geetanshjuneja 🙏

This is technically an API change so should have a entry in the upgrade guide I think -- I'll push a commit to this PR to do so

@@ -24,6 +24,48 @@
**Note:** DataFusion `50.0.0` has not been released yet. The information provided in this section pertains to features and changes that have already been merged to the main branch and are awaiting release in this version.
You can see the current [status of the `50.0.0 `release here](https://github.com/apache/datafusion/issues/16799)

### `AsyncScalarUDFImpl::invoke_async_with_args` returns `ColumnarValue`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this note here

@alamb
Copy link
Contributor

alamb commented Aug 2, 2025

I plan to merge this Monday unless anyone would like additional time to comment

@alamb
Copy link
Contributor

alamb commented Aug 4, 2025

I merged up to resolve a conflict

@alamb
Copy link
Contributor

alamb commented Aug 5, 2025

I merged up to fix a merge conflict with this PR and plan to merge this PR when the CI passes

@alamb alamb merged commit b0c8dd6 into apache:main Aug 5, 2025
28 checks passed
@alamb
Copy link
Contributor

alamb commented Aug 5, 2025

Thanks again @geetanshjuneja and @xudong963

hknlof pushed a commit to hknlof/datafusion that referenced this pull request Aug 20, 2025
…alarUDFImpl::invoke_with_args` (apache#16902)

* Change AsyncScalarUDFImpl::invoke_async_with_args return type to ColumnarValue

* fix docs

* cargo fmt

* cargo clippy

* Add a note in the upgrade guide

* Fix merge blunder

---------

Co-authored-by: Andrew Lamb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api change Changes the API exposed to users of the crate documentation Improvements or additions to documentation logical-expr Logical plan and expressions physical-expr Changes to the physical-expr crates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make AsyncScalarUDFImpl::invoke_async_with_args consistent with ScalarUDFImpl::invoke_with_args
3 participants