sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarek Jarcec Cecho <jar...@apache.org>
Subject Re: Import: Specify `select` expression in a separate file?
Date Tue, 18 Mar 2014 15:35:52 GMT
Are you perhaps looking for --options-file option?

http://sqoop.apache.org/docs/1.4.4/SqoopUserGuide.html#_using_options_files_to_pass_arguments

Jarcec

On Tue, Mar 18, 2014 at 05:34:41PM +0400, Darq Moth wrote:
> Hello,
> When importing data from MySQL to Hive I need to normalize several text
> fields containing phone numbers. This requires quite complex logic which is
> hard to express in Sqoop command line with a single SQL replace function.
> Is it possible to specify SQL select expressions in a separate file and
> refer to it from a command line?
> 
> Thanks!

Mime
View raw message