Avro
  1. Avro
  2. AVRO-819

C library not propagating error codes when reading files

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2, 1.6.0
    • Component/s: c
    • Labels:
      None

      Description

      The C library's data file reader isn't propagating error codes correctly, which causes avro_file_reader_read to not correctly detect EOF. Instead, it will return as if it's reading the final block of the file twice, though it's not filling in the datum parameter for the second pass through the block.

        Activity

        Douglas Creager created issue -
        Douglas Creager made changes -
        Field Original Value New Value
        Attachment 0001-AVRO-819.-Propagate-errors-correctly-in-C-library.patch [ 12478973 ]
        Douglas Creager made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.5.2 [ 12316398 ]
        Fix Version/s 1.6.0 [ 12316198 ]
        Resolution Fixed [ 1 ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Douglas Creager
            Reporter:
            Douglas Creager
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development