[ 
https://issues.apache.org/jira/browse/HIVE-12067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14949734#comment-14949734
 ] 

Bill Wailliam commented on HIVE-12067:
--------------------------------------

Yes, it is better not to use special characters to be serialized, but modify 
LazySimpleSerDe encoding/decoding may affect the data now

> ORC read nullString(eg: \N) columns, can't return NULL
> ------------------------------------------------------
>
>                 Key: HIVE-12067
>                 URL: https://issues.apache.org/jira/browse/HIVE-12067
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: Bill Wailliam
>            Assignee: Ashutosh Chauhan
>
> Text format:
> SQL:create table test_input as select '\\N' from table;
> hive> select * from test_input limit 3;
> OK
> NULL
> NULL
> NULL
> ===============
> ORC format:
> set hive.default.fileformat=Orc;
> create table test_orc_input as select '\\N' from table;
> hive> select * from test_orc_input limit 3;
> OK
> \N
> \N
> \N



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to