It's not possible to do without changing code right now. Let's open a JIRA for Hive and get that fixed/make it configurable.
Zheng On Sun, Aug 1, 2010 at 11:41 PM, bc Wong <[email protected]> wrote: > On Sun, Aug 1, 2010 at 11:14 PM, Zheng Shao <[email protected]> wrote: >> Just change FetchTask.java: public boolean fetch(ArrayList<String> res) >> >> res.add(((Text) mSerde.serialize(io.o, io.oi)).toString()); >> >> Instead of using Text.toString(), use your own method to convert from >> raw bytes to unicode String. > > Thanks for the reply, Zheng. Is there another way to do it, outside of > changing Hive or writing my own serde? > > I'm working on adding i18n support for Beeswax > <https://issues.cloudera.org/browse/HUE-54>, the Hive UI on HUE. It'd > be nice if I can find an easy way for Hive to work with non-UTF8 data. > Or do people pretty much only use it on UTF8 data? > > Cheers, > -- > bc Wong > Cloudera Software Engineer > -- Yours, Zheng http://www.linkedin.com/in/zshao
