View Source arrow_variable_list_array (arrow v0.1.0)
Provides support for Arrow's Fixed-Size List Layout.
This module provides support for the Fixed-Size List Layout[1], which is an layout that supports storing a list of lists of a specific length and nesting.
invalid-input
Invalid Input
It is important that care is taken when passing input values to this module. For performance reasons, the input is not validated. The function crashes on nesting that is inconsitent: a. with the type, b. between elements. The behaviour on invalid input CANNOT BE GUARANTEED. Therefore, one must be careful to not to CRASH THE PROCESS or worse still, PRODUCE INVALID OUTPUT.
Any input must follow the following rules:
- The nesting of each element must be consistent with the type
- The nesting of each element must be consistent with each other
Link to this section Summary
Link to this section Functions
-spec from_erlang(Values :: list(), Type :: map() | arrow_type:arrow_type()) -> Array :: #array{}.