decode_logs_batch

Function decode_logs_batch 

Source
pub fn decode_logs_batch(
    signature: &LogSignature,
    batch: &RecordBatch,
    allow_decode_fail: bool,
    hstack: bool,
) -> Result<RecordBatch>
Expand description

Decodes log event data from an Arrow RecordBatch into a new RecordBatch of decoded parameters.

Expects the input batch to contain a message column (Utf8 or LargeUtf8) with base64-encoded event data. Optionally horizontally stacks the result with the original batch.