Yelp/mrjob — Issue #268: Add RawProtocol
Author: davidmarin
Created: 2011-11-14 18:14:25+00:00
State: open
Labels: Feature

We have a `RawValueProtocol` that sets `key` to `None` and dumps the contents of the line into `value`.

It seems like we ought to have a `RawProtocol` that dumps the contents of the line before the first tab into `key`, and everything after the first tab (including other tabs, if there are any) into `value`.

If there is no tab at all, we should probably raise a `ValueError`; if people want to mix and match protocols, they should just use `RawValueProtocol`.