Skip to content

udf: support async python functions #8820

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tracked by #7405
wangrunji0408 opened this issue Mar 28, 2023 · 2 comments
Closed
Tracked by #7405

udf: support async python functions #8820

wangrunji0408 opened this issue Mar 28, 2023 · 2 comments
Assignees
Labels
type/feature Type: New feature.
Milestone

Comments

@wangrunji0408
Copy link
Contributor

wangrunji0408 commented Mar 28, 2023

Is your feature request related to a problem? Please describe.

Support defining UDFs over async functions.

@udf(input_types=['...'], result_type='...')
async def external_service(input):
    p = preprocess(input)
    return await call_my_external_service(p)

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

@wangrunji0408 wangrunji0408 added the type/feature Type: New feature. label Mar 28, 2023
@wangrunji0408 wangrunji0408 self-assigned this Mar 28, 2023
@github-actions github-actions bot added this to the release-0.19 milestone Mar 28, 2023
@wangrunji0408
Copy link
Contributor Author

blocking functions are supported by #9819

@wangrunji0408 wangrunji0408 closed this as not planned Won't fix, can't repro, duplicate, stale May 19, 2023
@lmsh7
Copy link

lmsh7 commented Apr 21, 2025

why this is not planned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Type: New feature.
Projects
None yet
Development

No branches or pull requests

2 participants