crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Micah Whitacre (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-632) Add compression support for CSVFileSource
Date Tue, 10 Jan 2017 17:07:58 GMT


Micah Whitacre commented on CRUNCH-632:

I think the change to support compression is actually easy from a reading perspective.  Just
detect and use the CompressionCodec to wrap the InputStream.

The part that I'm more concerned with is how to support calculating the splits.  Text Files
+ compression = Not Splittable typically so we could take that approach.

> Add compression support for CSVFileSource
> -----------------------------------------
>                 Key: CRUNCH-632
>                 URL:
>             Project: Crunch
>          Issue Type: Improvement
>            Reporter: Jim McStanton
>            Priority: Minor
> Currently CSVFileSource does not support decompressing files before reading them, and
simply opens the file and starts reading the contents:

> This source would more closely match TextFileSource if this support was added. The {{LineRecordReader}}
supports this behavior [here|].

This message was sent by Atlassian JIRA

View raw message