Skip to main content

Crate arrow_integration_testing

Crate arrow_integration_testing 

Source
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ยง

ArrowFile
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 ๐Ÿ”’