Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page describes the Avro support for Ultra Format Definition Language (UFDL). This functionality enables you to compile Avro definitions, to encode data into, and from the Avro format. A schema in Avro is represented in JSON. You can implement non-protocol data issues in an Analysis agent. 

Note
titleNote!

It is also possible to encode/decode Avro messages using schema retrieved from an external schema registry. See Decoder Agent Configuration for more information.


Overview

Avro parsing in UFDL is managed by applying the avro_block construct.

...

The output from an Avro encoder represents a single Avro record, not a complete Avro data file. To de-serialize these records using a third-party tool, add the correct Avro header to the records based on the description of Avro provided in the link below.

...

  • Line and Column are not fully implemented.
  • No string values are permitted in APL for the enum type.
  • Encoding the Avro object container file is not supported.
  • aliases are not fully supported.
  • default is not fully supported.
  • Cross references to other Ultra definitions are not supported.
  • array of arrays is not correctly implemented. For example, array of array of x is implemented with array of y, where y is a record with one value field. This value field is an array of x.
  • map of x is implemented via an array of y, where y is a record with two fields: key and value, where value is x.

...