You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Nandor Kollar (JIRA)" <ji...@apache.org> on 2017/10/17 07:57:00 UTC

[jira] [Created] (AVRO-2097) Improve documentation: emphasize that default values are interpreted in physical type and not in logical

Nandor Kollar created AVRO-2097:
-----------------------------------

             Summary: Improve documentation: emphasize that default values are interpreted in physical type and not in logical
                 Key: AVRO-2097
                 URL: https://issues.apache.org/jira/browse/AVRO-2097
             Project: Avro
          Issue Type: Improvement
          Components: doc
    Affects Versions: 1.8.2
            Reporter: Nandor Kollar
            Priority: Minor


Documentation is not clear how default values specified in the schema are interpreted. It is very easy to misunderstand, and think that setting a decimal filed's default value to "0.00" is interpreted as 0.00 decimal, but in fact it isn't! The default value is interpreted in the underlying *physical type*, and not in the logical type.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)