Skip to main content

variable_shape_tensor_batch_view

Function variable_shape_tensor_batch_view 

Source
pub fn variable_shape_tensor_batch_view<'a, T>(
    field: &Field,
    array: &'a StructArray,
) -> Result<VariableShapeTensorBatchView<'a, T>, NdarrowError>
Expand description

Builds a column-level view over arrow.variable_shape_tensor storage.

§Does not allocate

This borrows the Arrow child arrays, offsets, shape buffer, and primitive values directly.

§Errors

Returns an error if extension/type invariants are violated or if child storage arrays carry nulls.