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

Schema validation should fail if logical type does not match literal type

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.1
    • 1.9.2
    • python
    • None

    Description

      The spec explicitly links logical types with underlying actual types, but the implementation in python allows a logical type that does not match the specified underlying type. This diverges python from the Java implementation, which requires the logical and actual types to match.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            kojiromike Michael A. Smith
            kojiromike Michael A. Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment