You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Weishung Chung <we...@gmail.com> on 2011/02/11 19:06:44 UTC
schema: how to define array of double as a field
I have a question about schema. How can I define an array of double as a
field ?
Re: schema: how to define array of double as a field
Posted by Weishung Chung <we...@gmail.com>.
Thank you so much !
On Fri, Feb 11, 2011 at 12:14 PM, Scott Carey <sc...@richrelevance.com>wrote:
> {"type":"record","name":"foo","fields":[
> {"name":"d","type":{"type":"array","items":"double"}}
> ]
> }
>
> On 2/11/11 10:06 AM, "Weishung Chung" <we...@gmail.com> wrote:
>
> I have a question about schema. How can I define an array of double as a
> field ?
>
>
Re: schema: how to define array of double as a field
Posted by Scott Carey <sc...@richrelevance.com>.
{"type":"record","name":"foo","fields":[
{"name":"d","type":{"type":"array","items":"double"}}
]
}
On 2/11/11 10:06 AM, "Weishung Chung" <we...@gmail.com>> wrote:
I have a question about schema. How can I define an array of double as a field ?