Jagannathrao Mudda created AVRO-2514:
----------------------------------------
Summary: Making Avro serialization error message more actionable
with schema name and field name
Key: AVRO-2514
URL: https://issues.apache.org/jira/browse/AVRO-2514
Project: Apache Avro
Issue Type: Improvement
Components: java
Affects Versions: 1.8.2, 1.9.0, 1.6.3
Reporter: Jagannathrao Mudda
Fix For: 1.9.1
In certain scenarios when there is a serialization error, avro serializer gives
following error messages that are not actionable without any schema name
and/field name in it.
* java.lang.Double cannot be cast to java.lang.Long
* Not an enum: null
* ClassCastException
* ..
If there is a filed name of specific schema that is causing these serialization
errors, that helps to fix such issues quickly.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)