Cascading / cascading.hbase

HBase adapters for Cascading
http://www.cascading.org/
10 stars 11 forks source link

HbaseScheme assumes utf-8 encoded blob #3

Open kul opened 10 years ago

kul commented 10 years ago

Is there a particular reason for doing this ? https://github.com/Cascading/cascading.hbase/blob/2.2/src/main/java/cascading/hbase/HBaseScheme.java#L141

This implies that i cannot have HBaseTap working on anything other than utf-8 encoded data. Is there a way to have raw bytes or a custom de/serialization for the tap?

andrewnet commented 9 years ago

First of all, the change referred in #3 are not in the latest branches. How this can be done? Second, the change only affects 'source' method, how about 'sink' method?

The goal is to be able to 'read' and 'write' raw bytes. Since the raw bytes can be any thing, so they do not confirm to any encoding.

fs111 commented 9 years ago

No, we have never changed this. Would you mind sending a patch to support that?