Declare it as a binary column and use decoding UDF when accessing it.

Thanks,
Navis


2014-02-20 12:21 GMT+09:00 kun yan <[email protected]>:

>
> Hi all
>
> GBK encoding data files, but the hive is UTF-8 encoding
>
> select * from table display normal
>
> I try to modify the following configuration
>
> system:file.encoding=UTF-8
> system:sun.jnu.encoding=UTF-8
>
> But no effect, how do I deal with it
>
>
> --
>
> In the Hadoop world, I am just a novice, explore the entire Hadoop
> ecosystem, I hope one day I can contribute their own code
>
> YanBit
> [email protected]
>
>

Reply via email to