Function arrow2::io::parquet::write::can_encode

source ·
pub fn can_encode(data_type: &DataType, encoding: Encoding) -> bool
Expand description

Checks whether the data_type can be encoded as encoding. Note that this is whether this implementation supports it, which is a subset of what the parquet spec allows.