import the whole database using sqoop

680 Views Asked by At

I understand that we have --import-all-tables for importing all tables. But can we import the whole database using Sqoop so that the DB properties are also imported.

1

There are 1 best solutions below

0
On

We can't import DB properties using Sqoop, using SQOOP we can only import data from DB to HDFS along with java, avro files(avro schema contains table schema but not db properties).