Question

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 ?

Était-ce utile?

La solution

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.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top