Domanda

Sqoop reads the metadata of the source DB before storing the data into HDFS/HIVE.

Is there any method by which we can get this metadata information from sqoop ?

È stato utile?

Soluzione

Answering my question:

To get the metadata from sqoop , we can use the sqoop java apis and connect to the destination and get the following metadata

  1. Table name
  2. Db name
  3. Column details etc.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top