Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-632

Add compression support for CSVFileSource

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.15.0
    • None
    • None

    Description

      Currently CSVFileSource does not support decompressing files before reading them, and simply opens the file and starts reading the contents: https://github.com/apache/crunch/blob/6280983179e9c690af69c2bf0e296b054122d724/crunch-core/src/main/java/org/apache/crunch/io/text/csv/CSVRecordReader.java#L127.

      This source would more closely match TextFileSource if this support was added. The LineRecordReader supports this behavior here.

      Attachments

        1. CRUNCH-632.patch
          10 kB
          Micah Whitacre
        2. CRUNCH-632b.patch
          13 kB
          Micah Whitacre

        Activity

          People

            mkwhitacre Micah Whitacre
            jhmcstanton Jim McStanton
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: