async fn upload_data(
    client: FlightServiceClient<Channel>,
    schema: SchemaRef,
    descriptor: FlightDescriptor,
    original_data: Vec<RecordBatch>,
) -> Result<(), Box<dyn Error + Send + Sync + 'static>>