Open JohanMabille opened 1 month ago
👍🏽
There is a risk that the array_view
name leads to misunderstanding, as it would not match "any arrow data storage" but only ArrowArray
s. Also we want it to be reduced in capabilities and maybe the name needs to reflect that.
array_read_only
?
external_array
?
When
typed_array
supports different storage types (see #140), an newarray_view
class should be provided. This class is meant to provide an array API to Arrow data provided by external libraries (via the Arrow C data interface). Notice that this new class should provid a restricted API (only the const API of the array class), since we cannot manage the memory of the external structures.This
array_view
will hold a variant oftyped_array
parmetrized by the ArrowArray storage, while the existingarray
class will remain unchanged.