alamb commented on a change in pull request #9764:
URL: https://github.com/apache/arrow/pull/9764#discussion_r600714671



##########
File path: rust/arrow/src/ipc/convert.rs
##########
@@ -859,7 +859,7 @@ mod tests {
             0, 0,
         ];
         let ipc2 = ipc::root_as_message(&bytes[..]).unwrap();
-        let schema2 = ipc.header_as_schema().unwrap();
+        let schema2 = ipc2.header_as_schema().unwrap();

Review comment:
       maybe we can assert the individual fields that are the same. Something 
like
   
   ```
   assert_eq!(schema.endianess, schema2.endianess)
   assert_eq!(schema.fields(), schema2.fields())
   ...
   ```




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to