avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Pinto <andredasilvapi...@gmail.com>
Subject Break on schema violation / mandatory fields?
Date Wed, 10 Jun 2015 10:34:11 GMT
Hi all

Is there a way to break the deserialization process when the data that we
are reading from does not conform with the Schema in our generated
SpecificRecord? If that is not possible, is it at least possible to enforce
mandatory fields in the Avro schemas so if the deserializer isn't able to
get that content from the data it still breaks?

Thanks in advance,

View raw message