Avro type | Corresponding MZ type |
---|---|
null | null |
boolean | boolean |
int | int (needs casting in APL) |
long | long (needs casting in APL) |
float | float (needs casting in APL) |
double | double (needs casting in APL) |
string | string |
record | AvroRecordUDR |
enum | AvroEnumUDR |
fixed | AvroFixedUDR |
DynamicAvroUDR
DynamicAvroUDR is an output of Avro Decoder. The content type of “data” filed depends on the schema used for encoding/decoding the payload.
All elements in a map can be accessed via key equal to their “name” value in corresponding avro schema<WHAT IF DATA CONTAINS ONLY SINGLE PRIMITIVE TYPE>
The following fields are included in the DynamicAvroUDR
:
...