[ https://issues.apache.org/jira/browse/AVRO-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16810784#comment-16810784 ]
ASF subversion and git services commented on AVRO-2368: ------------------------------------------------------- Commit 1c679b12bab24c315a3547efa0aee1fd7838bbba in avro's branch refs/heads/master from Daniel Kulp [ https://gitbox.apache.org/repos/asf?p=avro.git;h=1c679b1 ] [AVRO-2368] Provide a Field.hasDefaultValue() method to determine if a default value it set or not > Provide way to distinguish whether a Schema.Field has a default value or its > default is null > -------------------------------------------------------------------------------------------- > > Key: AVRO-2368 > URL: https://issues.apache.org/jira/browse/AVRO-2368 > Project: Apache Avro > Issue Type: Task > Components: java > Reporter: Ivan Greene > Priority: Blocker > Fix For: 1.9.0 > > > After making {{Schema.Field#defaultValue}} package private, there is no way > to distinguish whether a Field has a default value of 'null' or has no > default at all. This is a breaking change, notably affecting Hortonworks > Schema Registry. See discussion here: > [https://github.com/hortonworks/registry/pull/547] > I propose we should make that method public and still deprecated. Otherwise I > don't see a clear way to release a version of the Hortonworks registry that > will be compatible with both Avro 1.8.x and 1.9.0. -- This message was sent by Atlassian JIRA (v7.6.3#76005)