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

Switch to Threaded View
Avro, mail # user - Java API again: some malformed schemas don't throw SchemaParseException...


Copy link to this message
-
Re: Java API again: some malformed schemas don't throw SchemaParseException...
Doug Cutting 2013-03-04, 17:34
I don't think that is intentional.

Since SchemaParseException is a subclass of AvroRuntimeException, this
can be changed back-compatibly, no?

Doug

On Sat, Mar 2, 2013 at 1:09 AM, Francis Galiegue <[EMAIL PROTECTED]> wrote:
> ... But AvroRuntimeException. Namely, I tried this schema:
>
> [ "null", "null" ]
>
> Is this intentional?
>
> --
> Francis Galiegue, [EMAIL PROTECTED]
> JSON Schema in Java: http://json-schema-validator.herokuapp.com