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

Fix the problem that CodeFactory is null when specifying snappy format when java Client compresses data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.10.0
    • 1.10.0
    • java

    Description

      When flink-avro writes data in batches based on the avro format, the general user will specify snappy compression. However, in the avro-1.10.0 version, the Codec and CodeFactory are returned by directly applying for the object, so that the user cannot obtain it Information for SnappyCodec.
      I refer to the practice of ```NullCodec```, changing it to a global variable way will work fine

       

       

      Before repair:

       

       

      after Repair:

       

      Attachments

        1. image-2022-07-27-16-11-46-218.png
          144 kB
          xingyuan cheng
        2. image-2022-07-27-16-10-42-262.png
          221 kB
          xingyuan cheng
        3. image-2022-07-27-16-10-33-410.png
          121 kB
          xingyuan cheng
        4. image-2022-07-27-16-10-17-970.png
          295 kB
          xingyuan cheng

        Issue Links

          Activity

            People

              Unassigned Unassigned
              complone xingyuan cheng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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