You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Raman Gupta (JIRA)" <ji...@apache.org> on 2019/04/01 21:08:00 UTC

[jira] [Created] (AVRO-2366) 1.9

Raman Gupta created AVRO-2366:
---------------------------------

             Summary: 1.9 
                 Key: AVRO-2366
                 URL: https://issues.apache.org/jira/browse/AVRO-2366
             Project: Apache Avro
          Issue Type: Bug
            Reporter: Raman Gupta


Followup to AVRO-2035.

I am testing 1.9 SNAPSHOT. I set `Schema.Parser.setValidateDefaults` to false, and still get a failure if the default does not match the schema. For example, a field definition of:

{"name": "name", "type": "string", "default": null}

Should this definition succeed if `setValidateDefaults(false)` is called? If not, should the `setValidateDefaults` method just be removed?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)