You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Anoop S Nair (JIRA)" <ji...@apache.org> on 2017/05/06 14:58:04 UTC

[jira] [Work started] (HIVE-16083) Hive should escape fields terminator when use textfile format

     [ https://issues.apache.org/jira/browse/HIVE-16083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HIVE-16083 started by Anoop S Nair.
-------------------------------------------
> Hive should escape fields terminator when use textfile format
> -------------------------------------------------------------
>
>                 Key: HIVE-16083
>                 URL: https://issues.apache.org/jira/browse/HIVE-16083
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats
>    Affects Versions: 2.1.1
>            Reporter: Winston Churchill
>            Assignee: Anoop S Nair
>            Priority: Trivial
>
> Create table with comon as fields terminator and insert data contains comon:
> {code}
> create table test_1(id int,name string) row format delimited fields terminated by ',' stored as textfile;
> insert into table test_1 values (1,'a,b,c');
> {code}
> {code}
> select * from test_1;
> +------------+--------------+--+
> | test_1.id  | test_1.name  |
> +------------+--------------+--+
> | 1          | a            |
> +------------+--------------+--+
> 4 rows selected (0.363 seconds)
> {code}
> May need to escape the fields terminator ?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)