Skip to content

Commit

Permalink
fix: Fix grpc schema hack in flight integration test (#1402)
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb authored Mar 5, 2022
1 parent a7bd09a commit ab41c25
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ async fn consume_flight_location(
let mut location = location;
// The other Flight implementations use the `grpc+tcp` scheme, but the Rust http libs
// don't recognize this as valid.
location.uri = location.uri.replace("grpc+tcp://", "grpc://");
// more details: https://github.com/apache/arrow-rs/issues/1398
location.uri = location.uri.replace("grpc+tcp://", "http://");

let mut client = FlightServiceClient::connect(location.uri).await?;
let resp = client.do_get(ticket).await?;
Expand Down

0 comments on commit ab41c25

Please sign in to comment.