Fokko commented on code in PR #79: URL: https://github.com/apache/iceberg-rust/pull/79#discussion_r1363824086
########## crates/iceberg/src/spec/values.rs: ########## @@ -966,6 +978,547 @@ mod timestamptz { } } +mod serde { + use std::collections::{BTreeMap, HashMap}; + + use crate::{ + spec::{PrimitiveType, Type}, + Error, ErrorKind, + }; + + use super::{Literal, PrimitiveLiteral}; + use serde::{ + de::Visitor, + ser::{SerializeSeq, SerializeStruct}, + Deserialize, Serialize, + }; + use serde_derive::Deserialize as DeserializeDerive; + use serde_derive::Serialize as SerializeDerive; + + #[derive(SerializeDerive, DeserializeDerive)] + #[serde(transparent)] + /// Raw literal representation used for serde. The seriailize way is used for avro serializer. Review Comment: ```suggestion /// Raw literal representation used for serde. The serialize way is used for Avro serializer. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org