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

SchemaCompatibility fails to recognize string<->bytes promotion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.7.7, 1.8.0, 1.8.1, 1.9.0
    • 1.9.0, 1.8.2
    • java
    • None
    • Any Java env

    • The java SchemaCompatibility class now recognizes the possible promotion between string and bytes fields.
    • Patch

    Description

      The class SchemaCompatibility fails to realize the change made as of
      AVRO-1553, where string-to/from-bytes promotions were allowed (according to docs, this was integrated into 1.7.7)
      The submitted fix corrects this (also updating the relevant unit test)

      Attachments

        1. AVRO-1929.patch
          3 kB
          Anders Sundelin

        Activity

          People

            epkanol Anders Sundelin
            epkanol Anders Sundelin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified