Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Sqoop export subset of columns

Sqoop export subset of columns

New Contributor

I have a 2000 column table in Hive and need to export this data to 4 different tables in Oracle each having 500 columns.

 

I don't see query or columns as parameters for sqoop export in the documentation. Can you please let me know if there is any way to export subset of columns from Hive to Oracle.

 

Thanks

Krish

2 REPLIES 2

Re: Sqoop export subset of columns

New Contributor

Hi Krish,

 

Did you get any resolution for your problem. I have the similar situation to select specific columns from HIVE table.

 

Thank you,

Ranjith

Re: Sqoop export subset of columns

Champion

you can try using the 


--columns cust_id, name, address, date, history, occupation

--columns parameter 

if i understand correctly your requirment