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

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


+
Francis Galiegue 2013-03-02, 09:09
Copy link to this message
-
Re: Java API again: some malformed schemas don't throw SchemaParseException...
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
+
Francis Galiegue 2013-03-04, 17:50