سؤال

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 ?

هل كانت مفيدة؟

المحلول

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.
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top