StringArray::from_list
and from(binary_array) -> string_array
are unsound
#2205
Labels
StringArray::from_list
and from(binary_array) -> string_array
are unsound
#2205
This would allow non-utf8 data within a StringArray using safe APIs, which would break our safety guarantees
Originally posted by @tustvold in #2181 (comment)
Describe the solution you'd like
from_list_unchecked
and mark it asunsafe
impl From<ListArray> for StringArray
We should also do the same change for
from_binary
after merging #2181The text was updated successfully, but these errors were encountered: