KT created AVRO-2509:
------------------------

             Summary: Avro schema default value to null, should it be "null" 
(with quotes) or null (without quotes)?
                 Key: AVRO-2509
                 URL: https://issues.apache.org/jira/browse/AVRO-2509
             Project: Apache Avro
          Issue Type: Task
          Components: java
            Reporter: KT


HI,  

   I am new to Avro and trying to define a schema. Wondering if I am trying to 
default a value to null, should it be: 

   a. "default": null

   b. "default": "null"

   Does it matter what the data type is? like for int then the default will be 
"default": null, but when it's for a string then the default should be 
"default":"null"? or it doesn't matter? 

 

Thanks

KT



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to