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 ๐