avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Smith <lenov...@gmail.com>
Subject custom attributes
Date Wed, 06 Jan 2016 21:11:20 GMT
Hello,

Im wondering if its allowed to define custom attributes as part of the AVRO
schema, e.g.


{
        "type" :"record",
        "name": "Test",
        "fields": [
            {
            "name": "ROW_ID",
            "title": "row identifier ",
            "type": "integer",


*            "description": "something",,            "ValidityDate":
"2015-01-01",            "ValidityOption": "Delete",*
            },
...


Can I define those three new attributes *description, **ValidityDate,
**ValidityOption
*that extends description of the record "ROW_ID"?


Thank you

Mime
View raw message