Skip to main content

Module integration_test

Module integration_test 

Source
Expand description

Integration tests for the Flight client.

Re-exportsยง

use crate::open_json_file; ๐Ÿ”’
use std::collections::HashMap; ๐Ÿ”’
use arrow::array::ArrayRef; ๐Ÿ”’
use arrow::buffer::Buffer; ๐Ÿ”’
use arrow::datatypes::SchemaRef; ๐Ÿ”’
use arrow::ipc; ๐Ÿ”’
use arrow::ipc::reader; ๐Ÿ”’
use arrow::ipc::writer; ๐Ÿ”’
use arrow::ipc::writer::IpcWriteContext; ๐Ÿ”’
use arrow::record_batch::RecordBatch; ๐Ÿ”’
use arrow_flight::FlightData; ๐Ÿ”’
use arrow_flight::FlightDescriptor; ๐Ÿ”’
use arrow_flight::IpcMessage; ๐Ÿ”’
use arrow_flight::Location; ๐Ÿ”’
use arrow_flight::Ticket; ๐Ÿ”’
use arrow_flight::flight_descriptor::DescriptorType; ๐Ÿ”’
use arrow_flight::flight_service_client::FlightServiceClient; ๐Ÿ”’
use arrow_flight::utils::flight_data_to_arrow_batch; ๐Ÿ”’
use futures::StreamExt; ๐Ÿ”’
use futures::channel::mpsc; ๐Ÿ”’
use futures::sink::SinkExt; ๐Ÿ”’
use futures::stream; ๐Ÿ”’
use tonic::Request; ๐Ÿ”’
use tonic::Streaming; ๐Ÿ”’
use tonic::transport::Endpoint; ๐Ÿ”’
use arrow::datatypes::Schema; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’

Functionsยง

consume_flight_location ๐Ÿ”’
receive_batch_flight_data ๐Ÿ”’
receive_schema_flight_data ๐Ÿ”’
run_scenario
Run a scenario that uploads data to a Flight server and then downloads it back
send_batch ๐Ÿ”’
upload_data ๐Ÿ”’
verify_data ๐Ÿ”’

Type Aliasesยง

Client ๐Ÿ”’
Error ๐Ÿ”’
Result ๐Ÿ”’