Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1251 Python 3 Support
  3. BEAM-6748

Block size difference in avro library on Python3 causes some AvroIO tests to fail.

Details

    • Sub-task
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • Not applicable
    • sdk-py-core
    • None

    Description

      apache_beam.io.avroio_test.TestAvro.test_split_points
      apache_beam.io.avroio_test.TestFastAvro.test_split_points

      fail with:

       

      Traceback (most recent call last):
       File "/home/robbe/workspace/beam/sdks/python/apache_beam/io/avroio_test.py", line 308, in test_split_points
       self.assertEquals(split_points_report[-10:], [(2, 1)] * 10)
      AssertionError: Lists differ: [(10, 1), (10, 1), (10, 1), (10, 1), (10, 1[42 chars], 1)] != [(2, 1), (2, 1), (2, 1), (2, 1), (2, 1), (2[32 chars], 1)]
      First differing element 0:
      (10, 1)
      (2, 1)
      + [(2, 1), (2, 1), (2, 1), (2, 1), (2, 1), (2, 1), (2, 1), (2, 1), (2, 1), (2, 1)]
      - [(10, 1),
      - (10, 1),
      - (10, 1),
      - (10, 1),
      - (10, 1),
      - (10, 1),
      - (10, 1),
      - (10, 1),
      - (10, 1),
      - (10, 1)] 

      Attachments

        Issue Links

          Activity

            People

              tvalentyn Valentyn Tymofieiev
              tvalentyn Valentyn Tymofieiev
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 1h 20m
                  1h 20m