Expand description
Support for the Apache Arrow JSON test data format
These utilities define structs that read the integration JSON format for integration testing purposes.
This is not a canonical format, but provides a human-readable way of verifying language implementations
Modulesยง
Structsยง
- Arrow
Json - A struct that represents an Arrow file with a schema and record batches
- Arrow
Json Batch - A struct that partially reads the Arrow JSON record batch
- Arrow
Json Column - A struct that partially reads the Arrow JSON column/array
- Arrow
Json Dictionary Batch - A struct that partially reads the Arrow JSON dictionary batch
- Arrow
Json Field - Fields are left as JSON
Value
as they vary byDataType
- Arrow
Json Field Dictionary - Represents a dictionary-encoded field in the Arrow JSON format
- Arrow
Json Schema - A struct that partially reads the Arrow JSON schema.
- Dictionary
Index Type - Type of an index for a dictionary-encoded field in the Arrow JSON format
Functionsยง
- array_
from_ json - Construct an Arrow array from a partially typed JSON column
- create_
null_ ๐buf - A helper to create a null buffer from a
Vec<bool>
- data_
type_ from_ json - Parse a data type from a JSON representation.
- data_
type_ to_ json - Generate a JSON representation of the data type.
- dictionary_
array_ from_ json - Construct a [
DictionaryArray
] from a partially typed JSON column - field_
from_ json - Parse a
Field
definition from a JSON representation. - field_
to_ json - Generate a JSON representation of the
Field
. - record_
batch_ from_ json - Generates a [
RecordBatch
] from an Arrow JSON batch, given a schema - schema_
from_ json - Parse a
Schema
definition from a JSON representation. - schema_
to_ json - Generate a JSON representation of the
Schema
.