Search

How do you clear the data in a staging table before loading it by Sqoop?



By specifying the –clear-staging-table option we can clear the staging table before it is loaded. This can be done again and again till we get proper data in staging.