Expand description
Common code used in the integration test binaries
Re-exportsยง
pub(crate) use serde_json::Value;๐pub(crate) use Array;๐pub(crate) use StructArray;๐pub(crate) use DataType;๐pub(crate) use Field;๐pub(crate) use Fields;๐pub(crate) use Schema;๐pub(crate) use ArrowError;๐pub(crate) use Result;๐pub(crate) use FFI_ArrowArray;๐pub(crate) use FFI_ArrowSchema;๐pub(crate) use from_ffi_and_data_type;๐pub(crate) use arrow::record_batch::RecordBatch;๐pub(crate) use arrow::util::test_util::arrow_test_data;๐pub(crate) use std::collections::HashMap;๐pub(crate) use CStr;๐pub(crate) use CString;๐pub(crate) use c_char;๐pub(crate) use c_int;๐pub(crate) use std::fs::File;๐pub(crate) use std::io::BufReader;๐pub(crate) use std::iter::zip;๐pub(crate) use std::ptr;๐pub(crate) use std::sync::Arc;๐pub(crate) use arrow_integration_test::*;๐
Modulesยง
- flight_
client_ scenarios - Collection of utilities for testing the Flight client.
- flight_
server_ scenarios - Collection of utilities for testing the Flight server.
Structsยง
- Arrow
File - An Arrow file in JSON format
Constantsยง
- AUTH_
PASSWORD - The expected password for the basic auth integration test.
- AUTH_
USERNAME - The expected username for the basic auth integration test.
Functionsยง
- arrow_
rs_ cdata_ integration_ export_ batch_ from_ json - A C-ABI for exporting a RecordBatch from a JSON file
- arrow_
rs_ cdata_ integration_ export_ schema_ from_ json - A C-ABI for exporting an Arrow schema from a JSON file
- arrow_
rs_ cdata_ integration_ import_ batch_ and_ compare_ to_ json - A C-ABI to compare a RecordBatch against a JSON file
- arrow_
rs_ cdata_ integration_ import_ schema_ and_ compare_ to_ json - A C-ABI to compare an Arrow schema against a JSON file
- arrow_
rs_ โfree_ error - Release a const char* exported by result_to_c_error()
- canonicalize_
schema - Canonicalize the names of map fields in a schema
- cdata_
integration_ ๐export_ batch_ from_ json - C Data Integration entrypoint to export a batch from a JSON file
- cdata_
integration_ ๐export_ schema_ from_ json - C Data Integration entrypoint to export the schema from a JSON file
- cdata_
integration_ ๐import_ batch_ and_ compare_ to_ json - cdata_
integration_ ๐import_ schema_ and_ compare_ to_ json - compare_
batches ๐ - open_
json_ file - Read an Arrow file in JSON format
- read_
gzip_ json - Read gzipped JSON test file
- result_
to_ ๐c_ error