6

I'm loading data from HDFS to mySQL using SQOOP, in this data one record has got more than 70 fields, making it difficult to define the schema while creating the table in RDBMS.

Is there a way to use AVRO tables to dynamically create the table with schema in RDBMS using SQOOP?

Or is there any some tool which does the same?

Rohit Nimmala
  • 1,459
  • 10
  • 28

1 Answers1

0

This is not supported in sqoop today. From the sqoop documentation

The export tool exports a set of files from HDFS back to an RDBMS. The target table must already exist in the database. The input files are read and parsed into a set of records according to the user-specified delimiters.

hlagos
  • 7,690
  • 3
  • 23
  • 41