Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # user >> Re: How to specify the CSharp class name of a field


Copy link to this message
-
Re: How to specify the CSharp class name of a field
On Thu, Mar 13, 2014 at 7:59 AM, Longton, Nigel <[EMAIL PROTECTED]> wrote:

There isn't an equivalent at this point.
You could perhaps interpret the 'java-class' attribute that's already there.

Long-term we might agree on a language-independent way of identifying
such types, perhaps:
  {"type":"long", "subType":"unix-epoch"}
  {"type":"string", "subType":"ISO-8601-date"}
  {"type":"string", "subType":"lexicographic-decimal"}

If there's interest, this should be fairly easy to specify & implement.

See: https://issues.apache.org/jira/browse/AVRO-739

Doug