viirya commented on code in PR #1585: URL: https://github.com/apache/arrow-rs/pull/1585#discussion_r853270020
########## arrow/src/ipc/reader.rs: ########## @@ -1481,4 +1479,35 @@ mod tests { let output_batch = roundtrip_ipc_stream(&input_batch); assert_eq!(input_batch, output_batch); } + + #[test] + fn test_roundtrip_stream_nested_dict_dict_in_list() { + // list + let list_data_type = DataType::List(Box::new(Field::new_dict( + "item", + DataType::Dictionary(Box::new(DataType::Int8), Box::new(DataType::Utf8)), + false, + 1, + false, + ))); + let offsets: &[i32; 4] = &[0, 2, 4, 6]; Review Comment: Yea, added a zero-length one. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org