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
Now, the arrow::compute::add kernel (and many others) require T::Native: ArrowNativeTypeOp. I tried to update my code to add that to the where clause, but it isn't possible, since the ArrowNativeTypeOp is a public trait inside a crate-scoped module.
As far as I can tell this makes it impossible to call any of the kernels that require ArrowNativeTypeOp from within code that is generic over the numeric type... which seems like it would be pretty useful. Could the ArrowNativeTypeOp be re-exported to support declaring such constraints?
The text was updated successfully, but these errors were encountered:
I previously had generic code along the lines of the following (it was actually in evaluator structs, as part of implementing a query evaluator):
Now, the
arrow::compute::add
kernel (and many others) requireT::Native: ArrowNativeTypeOp
. I tried to update my code to add that to thewhere
clause, but it isn't possible, since theArrowNativeTypeOp
is a public trait inside a crate-scoped module.As far as I can tell this makes it impossible to call any of the kernels that require
ArrowNativeTypeOp
from within code that is generic over the numeric type... which seems like it would be pretty useful. Could theArrowNativeTypeOp
be re-exported to support declaring such constraints?The text was updated successfully, but these errors were encountered: