fn value_encoding_to_literal( proto: &Option<RexNode>, ty: &DataType, ) -> Result<Datum, RwError>
Convert protobuf into a literal value (datum).