|
|
-
How to make hive handle/show Chinese words
Bing Li 2011-11-02, 13:39
Hi, guysI want to load some data files which including Chinese words.Currently, I found Hive can't display it well.Is there some setting/properties that I can configure to resolve this?
Thanks,Bing
-
Re: How to make hive handle/show Chinese words
wd 2011-11-04, 10:16
use utf8 or have you try to use insert overwrite to local directory and chek the output file?
On Wed, Nov 2, 2011 at 9:39 PM, Bing Li <[EMAIL PROTECTED]> wrote:
> Hi, guys > I want to load some data files which including Chinese words. > Currently, I found Hive can't display it well. > Is there some setting/properties that I can configure to resolve this? > > > Thanks, > Bing >
-
Re: How to make hive handle/show Chinese words
Shouguo Li 2011-11-08, 23:36
hmm, i tried it on osx + hive (in local mode) and i can see chinese characters gets displayed properly on hive shell. so we know hive utf-8 encoding works, :)
like what wd said, check to see if the file is utf-8 encoded. also were u using hive shell to check the output? can you cat the data file and check if your terminal displays chinese characters correctly? i know some terminals doesn't support chinese, so just to make sure.
hope that helps.
On Fri, Nov 4, 2011 at 3:16 AM, wd <[EMAIL PROTECTED]> wrote:
> use utf8 > or have you try to use insert overwrite to local directory and chek the > output file? > > > On Wed, Nov 2, 2011 at 9:39 PM, Bing Li <[EMAIL PROTECTED]> wrote: > >> Hi, guys >> I want to load some data files which including Chinese words. >> Currently, I found Hive can't display it well. >> Is there some setting/properties that I can configure to resolve this? >> >> >> Thanks, >> Bing >> > >
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext