Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2097

Improve documentation: emphasize that default values are interpreted in physical type and not in logical

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8.2
    • Fix Version/s: None
    • Component/s: doc
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nkollar Nándor Kollár
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: