compute. CastOptions add option to cast to null value when cast fails
Open
Type: enhancement
- Dominant language
- Assembly
- Stars
- 404
- Forks
- 145
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 87
Description
### Describe the enhancement requested
I am using `compute. CastArray` and `compute. CastToType` for casting an array to a compatible type. If one element in the array can not be casted, then the whole array fails. Is it possible to set those failed ones to null value while casting the remaining of the array successfully? I tried setting those default cast options to true, but it seems the behavior is setting those failed ones to initial value. Thanks for your help!
### Component(s)
Other
Contributor guide
Assessment
This issue has not been assessed yet.