arrow_integration_test

Function record_batch_from_json

Source
pub fn record_batch_from_json(
    schema: &Schema,
    json_batch: ArrowJsonBatch,
    json_dictionaries: Option<&HashMap<i64, ArrowJsonDictionaryBatch>>,
) -> Result<RecordBatch>
Expand description

Generates a [RecordBatch] from an Arrow JSON batch, given a schema