Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


+
Akira Kitada 2010-06-03, 13:45
Copy link to this message
-
Re: Carriage return handling in Hive
Akira,

   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
>
+
Akira Kitada 2010-06-09, 16:13
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB