You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2020/08/10 14:27:00 UTC
[jira] [Commented] (AVRO-2908) Skip enum using in.readEnum instead
of in.readInt
[ https://issues.apache.org/jira/browse/AVRO-2908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17174356#comment-17174356 ]
Ryan Skraba commented on AVRO-2908:
-----------------------------------
Hello and thanks for the patch! We've been using pull requests on github for a while now [despite the documentation|https://cwiki.apache.org/confluence/display/AVRO/How+To+Contribute] (I'll take a look at the documentation). Would you like to make a PR with your fix? It looks correct.
> Skip enum using in.readEnum instead of in.readInt
> -------------------------------------------------
>
> Key: AVRO-2908
> URL: https://issues.apache.org/jira/browse/AVRO-2908
> Project: Apache Avro
> Issue Type: Bug
> Components: java
> Reporter: Muhammad Samir Khan
> Priority: Major
> Attachments: AVRO-2908.patch
>
>
> Otherwise ValidatingDecoder throws: org.apache.avro.AvroTypeException: Attempt to process a int when a enum was expected.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)