This looks like a rust program. Perhaps you could try using `serde_json` or some other format to narrow down where the issue is
On Fri, Apr 2, 2021 at 10:00 PM Jack Chan <j4ck....@gmail.com> wrote: > Hi > > I tried to serialize and deserialize an arrow schema, but I got into an > error of > (Error { message: "missing field `metadata`" }). Is this a bug in apache > arrow or in serde_dynamodb? > > ``` > let schema = ArrowSchema::empty(); > let object = serde_dynamodb::to_hashmap(&schema)?; > let roundtrip: ArrowSchema = serde_dynamodb::from_hashmap(object)?; > assert_eq!(roundtrip, schema); > ``` > > Jack >