macro_rules! to_any {
($v: expr, DataType::Null) => { ... };
($v: expr, DataType:: $t: ident) => { ... };
}
Expand description
to anyvalue from primitive value and datatype let a = to_any!(3, DataType::UInt64); let b = to_any!(“X”, DataType::Utf8);