fn value_matches_type( value: &Value, datatype: i32, extension: Option<&ColumnDataTypeExtension>, ) -> bool