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

Make conversions field transient in compiled SpecificRecord

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.1
    • 1.9.0, 1.8.2
    • java
    • None

    Description

      Add a transient modifier to the conversions field as such

      private final transient org.apache.avro.Conversion<?>[] conversions
      

      This will allow Serializers and type inference systems like Flink's TypeExtractor to not consider the conversions field and not try to serialize it.

      Attachments

        1. conversions-transient.patch
          1 kB
          Michael Wong

        Issue Links

          Activity

            People

              mwong Michael Wong
              mwong Michael Wong
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: