Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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

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

Champion

you can try using the 


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

--columns parameter 

if i understand correctly your requirment 

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.