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 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
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