Importing Avro Files with Sqoop 1 Using the Command Line
On the command line, use the following option to import to Avro data files:
--as-avrodatafile
Sqoop 1 will automatically generate an Avro schema that corresponds to the database table being exported from.
To enable Snappy compression, add the following option:
--compression-codec snappy