Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Carriage return handling in Hive

Copy link to this message
Re: Carriage return handling in Hive

   did you try LINES TERMINATED BY ?

-- amr

On 6/3/2010 6:45 AM, Akira Kitada wrote:
> Hi,
> Hive uses TextInputFormat by default and which treats '\n' AND '\r' as
> a line separator.
> However I don't want '\r' to be treated as a separator.
> Does Hive provide a way to set custom InputFormat?
> I tried 'STORED AS file_format' to do this but it seems it didn't work for me.
> I use 0.4.0.
> Thanks