[ 
https://issues.apache.org/jira/browse/AVRO-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philip Zeyliger updated AVRO-368:
---------------------------------

    Attachment: AVRO-368.patch.txt

I went ahead and implemented this change.  The patch below includes: (1) 
changes to the spec, (2) changes to DataFileConstants, (3) wider use of 
DataFileConstants, (4) new tests for data file metadata setters and getters, 
(5) disallowing for setMeta(key) for all keys that use reserved words.  The 
reserved words should be set via the API (this is true for codec and schema, 
and I suspect would be true for others).

"ant clean test-java" passes in the java directory.  The spec seems to build.

> Reserve avro.* in object container files, and rename existing reserved words.
> -----------------------------------------------------------------------------
>
>                 Key: AVRO-368
>                 URL: https://issues.apache.org/jira/browse/AVRO-368
>             Project: Avro
>          Issue Type: Improvement
>          Components: spec
>    Affects Versions: 1.3.0
>            Reporter: Philip Zeyliger
>            Priority: Blocker
>             Fix For: 1.3.0
>
>         Attachments: AVRO-368.patch.txt
>
>
> We propose to move "codec", "schema", and "sync" into "avro.codec", 
> "avro.schema", and "avro.sync", and furthermore reserve all avro.* names in 
> the object container file specification.
> (Discussion was started in the thread "Reserving more keywords in Avro Object 
> Container Files?" on avro-dev.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to