Dustin Spicuzza created AVRO-1558:
-------------------------------------
Summary: Avro c bindings report incorrect error
Key: AVRO-1558
URL: https://issues.apache.org/jira/browse/AVRO-1558
Project: Avro
Issue Type: Bug
Components: c
Affects Versions: 1.7.7
Reporter: Dustin Spicuzza
At datafile.c:592, avro_set_error is called to indicate that the "datum is too
large for file block size". However, this may sometimes be incorrect, it is
hiding any errors set in avro_write_data(), which includes things such as
"field is invalid", etc, which are arguably more correct errors to return to
the user.
Thanks!
--
This message was sent by Atlassian JIRA
(v6.2#6252)