Skip to main content

decode_timestamp

Function decode_timestamp 

Source
pub fn decode_timestamp(
    values: &TimestampNanosecondArray,
    name: &'static str,
    row: usize,
) -> Result<u64, EncodingError>
Expand description

Reads a non-negative Arrow nanosecond timestamp as the model’s unsigned representation.

§Errors

Returns an EncodingError when the value is negative.