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

[Java] Utf8 strings should be Serializable

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0
    • None

    Description

      It's a common pattern in big data execution engines like Beam, Spark, Flink to extract a key from an object and use it in a pipeline for later operations on grouping and aggregations.  When the Avro string primitive is a Utf8 datum, this adds unnecessary complexity because it's not serializable.

      This was mostly addressed in AVRO-200 and AVRO-1502 by making generated specific Avro objects Serializable or Externalizable, but using a STRING as a key is extremely common and worth addressing.

      Attachments

        Issue Links

          Activity

            People

              rskraba Ryan Skraba
              rskraba Ryan Skraba
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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