You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This document is a collection of examples of Sqoop commands and arguments that are commonly used together. Its a good starting place for those overwhelmed by all the Sqoop configuration options and want to start exploring with something tried and true.

Exporting data from CSV file to Teradata:

Note: Teradata connector is required.

 sqoop export --connect jdbc:teradata://terahost/DATABASE=MYDB     --username myuser   --password mypass     --export-dir /user/hive/warehouse/mydb.db/data_stg    
--table MYTABLE    --input-fields-terminated-by ','  
  • No labels