You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: revert "feat(daft-ext): scalar daft_func macro with overloading (#6844)" (#6925)
## Changes Made
This reverts commit afb30af. It's an
immediate fix for an extension regression which is blocking the 0.7.11
release. After the release is fixed, we can reintroduce this with a
longer-term fix. We could also just remove the overloading things for
now and leave the proc macro as an immediate follow-up.
## Related Issues
#6922
This hasn't been verified, but a patch would be this. That being said,
I'd prefer the longer term fix which uses interior mutability with a
scalar function factory to fix the overload registration and allow for
overloads for both extensions and daft internal.
```rs
if self.variants.len() == 1 {
return Ok(BuiltinScalarFnVariant::Sync(Arc::new(
self.variants[0].as_ref().clone(),
)));
}
```
0 commit comments