Examples
Create an HCatalog table, such as:
hcat -e "create table txn(txn_date string, cust_id string, amount
float, store_id int) partitioned by (cust_id string) stored as rcfile;"
Then use Sqoop to import and export the "txn" HCatalog table as follows:
Import
$SQOOP_HOME/bin/sqoop import --connect <jdbc-url> -table
<table-name> --hcatalog-table txn
Export
$SQOOP_HOME/bin/sqoop export --connect <jdbc-url> -table
<table-name> --hcatalog-table txn