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

Switch to Threaded View
Sqoop >> mail # user >> truncate before export


Copy link to this message
-
Re: truncate before export
Hi Aleksei,
please go ahead and file a jira for that [1]!

Jarcec

Links:
1: https://issues.apache.org/jira/browse/SQOOP

On Fri, Apr 05, 2013 at 11:10:02AM +0200, Aleksei Udatšnõi wrote:
> Hi,
>
> Currently Sqoop export only inserts new data into RDBMS, but sometimes it
> is necessary to replace the entire table. To accomplish that a developer
> has to have an extra step and truncate the table before executing Sqoop.
>
> I wonder if it has been considered by Sqoop developers to add TRUNCATE
> option to Sqoop export?
>
> Regards,
> Aleksei Udatšnõi