avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandor Kollar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-2097) Improve documentation: emphasize that default values are interpreted in physical type and not in logical
Date Tue, 17 Oct 2017 07:57:00 GMT
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)

Mime
View raw message