You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2020/01/20 01:27:00 UTC

[jira] [Created] (AVRO-2705) Terminate Early if Null Symbol in ParsingDecoder skipTopSymbol

David Mollitor created AVRO-2705:
------------------------------------

             Summary: Terminate Early if Null Symbol in ParsingDecoder skipTopSymbol
                 Key: AVRO-2705
                 URL: https://issues.apache.org/jira/browse/AVRO-2705
             Project: Apache Avro
          Issue Type: Improvement
            Reporter: David Mollitor
            Assignee: David Mollitor


https://github.com/apache/avro/blob/84b056c2adc069cf31f3b4d3c9337cb7cdaa58d6/lang/java/avro/src/main/java/org/apache/avro/io/ParsingDecoder.java#L48-L55

{code:java}
    if (top == Symbol.NULL) {
      readNull();
    }
    if (top == Symbol.BOOLEAN) {
      readBoolean();
    } else if (top == Symbol.INT) {
      readInt();
    } else if (top == Symbol.LONG) {
      ....
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)