decode_call_outputs

Function decode_call_outputs 

Source
pub fn decode_call_outputs<I: OffsetSizeTrait>(
    signature: &str,
    data: &GenericBinaryArray<I>,
    allow_decode_fail: bool,
) -> Result<RecordBatch>
Expand description

Decodes given call output data in arrow format to arrow format. Output Arrow schema is auto generated based on the function signature. Handles any level of nesting with Lists/Structs.

Writes null for data rows that fail to decode if allow_decode_fail is set to true. Errors when a row fails to decode if allow_decode_fail is set to false.