Commits
Click on a commit to change the comparison rangefeat(udf): support ray_options and resource overrides in UDF v2
This PR adds support for passing `ray_options` and overriding resource
requirements in Daft UDF v2 (`@daft.func` and `@daft.cls`).
Key changes:
- Update `row_wise_udf` and `batch_udf` bindings to accept `ray_options`,
`memory_bytes`, and `cpus`.
- Add `override_options` and `with_concurrency` methods to `Func` class
in `daft/udf/udf_v2.py` for dynamic configuration.
- Propagate these options from Python to the Rust Logical Plan.
- Update type stubs (`.pyi`) to match new Rust signatures.
- Add integration tests verifying both `explain()` output and execution results.
Verified with `pre-commit` and new test cases.