Skip to main content

from_glue_bytes

Function from_glue_bytes 

Source
pub fn from_glue_bytes(schema: &Schema, bytes: &[u8]) -> Result<Value, Error>
Expand description

Strip the AWS Glue wire-format header and decode the Avro payload with schema. The 16-byte schema-version UUID in the header identifies the writer schema; callers that need it should extract it separately via mz_interchange::glue::extract_avro_header.