Re: Parsing Anonymous Schema

2010-11-24 Thread Doug Cutting
On 11/24/2010 06:53 AM, Harsh J wrote: Is it possible to parse an "anonymous" record schema (back into a proper Schema object)? If I've created an anonymous record schema, I'm getting an error (No "name" found, via Schema.parse() of Java API) when I de-serialize its JSON to form a Schema object

Re: NullPointerException when schema uses field aliases

2010-11-24 Thread Scott Carey
This appears to be a bug. A field seems to have been created with a null name or schema. Aliases are new in 1.4. Can you file a JIRA ticket on this? Thanks! -Scott On Nov 23, 2010, at 7:15 PM, Ryan Holmes wrote: > I'm getting an NPE when writing an Avro file with one schema and reading b

Parsing Anonymous Schema

2010-11-24 Thread Harsh J
Hello, Is it possible to parse an "anonymous" record schema (back into a proper Schema object)? If I've created an anonymous record schema, I'm getting an error (No "name" found, via Schema.parse() of Java API) when I de-serialize its JSON to form a Schema object again. Is this the intended beha