Sha256: 314005fa541ee3abcc06bbee1d5563f2818c52825f89cd199bec5a1cd94ac32b

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

{
  "type" : "record",
  "name" : "Item",
  "namespace" : "example.avro",
  "fields" : [
    {"name": "id", "type": "long"},
    {"name": "account", "type": "long"},
    {"name": "time", "type": "string"},
    {"name": "purchase", "type": "string"},
    {"name": "comment", "type": ["string", "null"]},
    {"name": "data", "type": [
      {
        "type": "record",
        "name": "data_record",
        "fields": [
          {"name": "foo", "type": ["null", "string"]},
          {"name": "events", "type":  ["null", {"type": "array", "items": {"type": "map", "values": "string"}}]}
        ]
      }, "null"]
    },
    {"name": "data2", "type": {
      "type": "array", "items": {
        "type": "record",
        "name": "data2_record",
        "fields": [
          {"name": "hoge", "type": ["null", "int"]}
        ]
      }
    }},
    {"name": "type", "type": {"type": "enum", "name": "type_enum", "symbols": ["A", "B", "C"]}},
    {"name": "md5", "type": ["null", {"type": "fixed", "name": "md5_value", "size": 32}]}
  ]
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
embulk-formatter-avro-0.1.1 example/schema.avsc
embulk-formatter-avro-0.1.0 example/schema.avsc