[
https://issues.apache.org/jira/browse/AVRO-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thiruvalluvan M. G. updated AVRO-373:
-------------------------------------
Assignee: Thiruvalluvan M. G.
Status: Patch Available (was: Open)
> EOF detection broken in JsonDecoder
> -----------------------------------
>
> Key: AVRO-373
> URL: https://issues.apache.org/jira/browse/AVRO-373
> Project: Avro
> Issue Type: Bug
> Components: java
> Reporter: Doug Cutting
> Assignee: Thiruvalluvan M. G.
> Attachments: AVRO-373.patch
>
>
> We'd like it when EOF is encountered between objects to throw EOFException,
> while EOF encountered within an object to throw AvroTypeException. I think
> this was working, but it's not working at present. The following command
> fails:
> echo '{"greeting":"Hello World!"}' | java -jar build/avro-tools-1.2.0-dev.jar
> fromjson '{"type":"record","name":"hello","fields":[{"name": "greeting",
> "type": "string"}]}' -
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.