pub fn value_from_column(
col: &dyn Array,
data_type: &DataType,
row: usize,
crdt_mode: CrdtDecodeMode,
) -> Result<Value, Error>Expand description
Decode an Arrow column value to a serde_json::Value.
§Arguments
col- The Arrow array to read fromdata_type- The uni_common::DataType describing the column’s logical typerow- The row index to readcrdt_mode- How to handle CRDT decode errors
§Returns
The decoded JSON value, or an error if decoding fails.