Skip to content

run_udf: add tests for case inside callback #322

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

jdries
Copy link

@jdries jdries commented Feb 19, 2025

These tests show how a user would typically use run_udf.

They also seem to expose a remaining issue in current implementation, in the sense that the UDF continues to receive the full input datacube as opposed to only receiving a chunk.

Forcing parallellization with dask does reveal error messages, so this is probably what we need to get behaviour similar to a 'real' backend.

@ValentinaHutter
Copy link
Collaborator

Pre-commit should be included in your poetry setup, but you can also resolve the pre-commit hook issue manually by running: pre-commit run --all-files

https://pre-commit.com/

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