You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Sonal Goyal <so...@gmail.com> on 2013/10/07 07:08:49 UTC
Re: How to load /t /n file to Hive
Do you have the option to escape your tabs and newlines in your base file?
Best Regards,
Sonal
Nube Technologies <http://www.nubetech.co>
<http://in.linkedin.com/in/sonalgoyal>
On Sat, Sep 21, 2013 at 12:34 AM, Raj Hadoop <ha...@yahoo.com> wrote:
> Hi,
>
> I have a file which is delimted by a tab. Also, there are some fields in
> the file which has a tab /t character and a new line /n character in some
> fields.
>
> Is there any way to load this file using Hive load command? Or do i have
> to use a Custom Map Reduce (custom) Input format with java ? Please advise.
>
> Thanks,
> Raj
>
Re: How to load /t /n file to Hive
Posted by Raj Hadoop <ha...@yahoo.com>.
Yes, I have it.
Thanks,
Raj
________________________________
From: Sonal Goyal <so...@gmail.com>
To: "user@hive.apache.org" <us...@hive.apache.org>; Raj Hadoop <ha...@yahoo.com>
Sent: Monday, October 7, 2013 1:38 AM
Subject: Re: How to load /t /n file to Hive
Do you have the option to escape your tabs and newlines in your base file?
Best Regards,
Sonal
Nube Technologies
On Sat, Sep 21, 2013 at 12:34 AM, Raj Hadoop <ha...@yahoo.com> wrote:
Hi,
>
>I have a file which is delimted by a tab. Also, there are some fields in the file which has a tab /t character and a new line /n character in some fields.
>
>Is there any way to load this file using Hive load command? Or do i have to use a Custom Map Reduce (custom) Input format with java ? Please advise.
>
>Thanks,
>Raj