This is an automated email from the ASF dual-hosted git repository.

viirya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new 6fbc9a457 Fix schema comparison (#1731)
6fbc9a457 is described below

commit 6fbc9a4573cda32eae13d1266d840377988d145a
Author: Liang-Chi Hsieh <[email protected]>
AuthorDate: Mon May 23 14:40:28 2022 -0700

    Fix schema comparison (#1731)
---
 integration-testing/src/flight_client_scenarios/integration_test.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/integration-testing/src/flight_client_scenarios/integration_test.rs 
b/integration-testing/src/flight_client_scenarios/integration_test.rs
index fa2495294..4158a7352 100644
--- a/integration-testing/src/flight_client_scenarios/integration_test.rs
+++ b/integration-testing/src/flight_client_scenarios/integration_test.rs
@@ -215,7 +215,7 @@ async fn consume_flight_location(
             flight_data_to_arrow_batch(&data, actual_schema.clone(), 
&dictionaries_by_id)
                 .expect("Unable to convert flight data to Arrow batch");
 
-        assert_eq!(expected_batch.schema(), actual_batch.schema());
+        assert_eq!(actual_schema, actual_batch.schema());
         assert_eq!(expected_batch.num_columns(), actual_batch.num_columns());
         assert_eq!(expected_batch.num_rows(), actual_batch.num_rows());
         let schema = expected_batch.schema();

Reply via email to