crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reid (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-632) Add compression support for CSVFileSource
Date Wed, 11 Jan 2017 07:31:58 GMT


Gabriel Reid commented on CRUNCH-632:

Just to clarify on the combination of compression and text files, you're right that they aren't
typically splittable (assuming gzip compression is used), but for example Snappy compression
does support input splits.

The [o.a.h.mapreduce.lib.input.TextInputFormat#isSplitable|]
method can be implemented so that we can decide what to do about splitting.

> 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