sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abraham Elmahrek <...@cloudera.com>
Subject Re: sqoop import data that contains hive delimiters
Date Sat, 06 Dec 2014 00:32:38 GMT
Hey there,

Have you tried using a "free-form" query to replace characters?

See
http://sqoop.apache.org/docs/1.4.5/SqoopUserGuide.html#_free_form_query_imports
for more details and an example.

-Abe

On Fri, Dec 5, 2014 at 12:14 PM, Joanne Chan <jchan@shutterstock.com> wrote:

> What's the best way to sqoop import data that contains \n and \r from the
> source data?  It looks like --hive-delims-replacement only allows one
> replacement for all delimiters.
>
> Ideally, I would like to keep the default hive delimiters as is.
>
> Please advise.
>
> Thanks!
>
>

Mime
View raw message