hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirby Linvill (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-1762) Multi-character delimiter strings do not work correctly
Date Fri, 18 Mar 2016 04:08:33 GMT

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

Kirby Linvill commented on HIVE-1762:
-------------------------------------

Implemented 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
>
> 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)

Mime
View raw message