You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Kirby Linvill (JIRA)" <ji...@apache.org> on 2016/03/18 05:09:33 UTC

[jira] [Resolved] (HIVE-1762) Multi-character delimiter strings do not work correctly

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

Kirby Linvill resolved HIVE-1762.
---------------------------------
       Resolution: Not A Bug
         Assignee: Kirby Linvill
    Fix Version/s: 0.14.0

Resolved by MultiDelimitSerDe

> Multi-character delimiter strings do not work correctly
> -------------------------------------------------------
>
>                 Key: HIVE-1762
>                 URL: https://issues.apache.org/jira/browse/HIVE-1762
>             Project: Hive
>          Issue Type: Bug
>          Components: Serializers/Deserializers
>    Affects Versions: 0.5.0
>            Reporter: Todd Lipcon
>            Assignee: Kirby Linvill
>             Fix For: 0.14.0
>
>
> I was trying to give a demo using the movielens data set, which uses '::' as a delimiter (multiple characters). Using "FIELDS TERMINATED BY '::'" did not give an error, but it seems to just split on ':' rather than '::'.
> {code}
> hive> create table ml_ratings (userid int, movieid int, rating int, unixtime string) row format delimited  fields terminated by '::' stored as textfile;
> ...
> hive> select * from ml_ratings limit 5;                                         OK                                                    
> 1       NULL    122
> 1       NULL    185
> {code}



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