Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Jun 27, 2022
1 parent 62a3d80 commit 3fe8248
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ async fn receive_batch_flight_data(
{
let length = data.data_body.len();
let mut reader = std::io::Cursor::new(&data.data_body);
read::read_dictionary(batch, fields, ipc_schema, dictionaries, &mut reader, 0, length as u64)
read::read_dictionary(batch, fields, ipc_schema, dictionaries, &mut reader, 0, length as u64, &mut Default::default())
.expect("Error reading dictionary");

data = resp.next().await?.ok()?;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ async fn record_batch_from_message(
&mut reader,
0,
length as u64,
&mut Default::default()
);

arrow_batch_result.map_err(|e| Status::internal(format!("Could not convert to Chunk: {:?}", e)))
Expand All @@ -312,7 +313,7 @@ async fn dictionary_from_message(
let mut reader = std::io::Cursor::new(data_body);

let dictionary_batch_result =
ipc::read::read_dictionary(dict_batch, fields, ipc_schema, dictionaries, &mut reader, 0, length as u64);
ipc::read::read_dictionary(dict_batch, fields, ipc_schema, dictionaries, &mut reader, 0, length as u64, &mut Default::default());
dictionary_batch_result
.map_err(|e| Status::internal(format!("Could not convert to Dictionary: {:?}", e)))
}
Expand Down

0 comments on commit 3fe8248

Please sign in to comment.