Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16553

camel-flatpack - Issues when parsing CSV files that extensively use text qualifiers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Information Provided
    • 3.4.0
    • None
    • camel-flatpack
    • None
    • Unknown

    Description

      It looks like Flatpack library has defects that do not allow to parse CSV files that use text qualifiers a lot. The issues are:

      • it cannot process files that contain multiline strings like:
        Bob,Smith,bsmiht@test.com,"This is a long fragment of text
        that should be processed as a single field", 1988, 111-222-33,"another field with new line character
         that should be considered as a field of the same data row" 
      • also if string starts with text qualifier characters it also cannot handle it properly, like:
        Bob, Smith, """Test"" , 2, Some string, still string, also part of the string.",11111111
        

      I have reported a defect https://github.com/Appendium/flatpack/issues/60 for Flatpack. But I am not sure if there are chances that these issues will be fixed any time soon since they released the latest available version in 2019.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            mvlakh MykhailoVlakh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: